---
title: Telegraf Documentation
description: Telegraf plugin for sending metrics to Redis Time Series
url: https://docs.influxdata.com/telegraf/v1/output-plugins/redistimeseries/
estimated_tokens: 1174
product: Telegraf
version: v1
---

-   Telegraf v1.0.0+

# Redis Time Series Output Plugin

This plugin writes metrics to a [Redis time-series](https://redis.io/timeseries) server.

**Introduced in:** Telegraf v1.0.0 **Tags:** datastore **OS support:** all

## Global configuration options

Plugins support additional global and plugin configuration settings for tasks such as modifying metrics, tags, and fields, creating aliases, and configuring plugin ordering. See [CONFIGURATION.md](/telegraf/v1/configuration/#plugins) for more details.

## Secret-store support

This plugin supports secrets from secret-stores for the `username` and `password` option. See the [secret-store documentation](/telegraf/v1/configuration/#secret-store-secrets) for more details on how to use them.

## Configuration

```toml
# Publishes metrics to a redis timeseries server
[[outputs.redistimeseries]]
  ## The address of the RedisTimeSeries server.
  address = "127.0.0.1:6379"

  ## Redis ACL credentials
  # username = ""
  # password = ""
  # database = 0

  ## Timeout for operations such as ping or sending metrics
  # timeout = "10s"

  ## Set a time-to-live (TTL) on each Redis key
  ## If set, Redis will expire the key after the specified duration
  ## The TTL is refreshed on every write, so the key only expires
  ## if no new data arrives within the configured period
  ## Disabled by default (no expiry)
  # expire = ""

  ## Enable attempt to convert string fields to numeric values
  ## If "false" or in case the string value cannot be converted the string
  ## field will be dropped.
  # convert_string_fields = true

  ## Optional TLS Config
  # tls_ca = "/etc/telegraf/ca.pem"
  # tls_cert = "/etc/telegraf/cert.pem"
  # tls_key = "/etc/telegraf/key.pem"
  # insecure_skip_verify = false
```

#### Related

-   [Configure plugins](/telegraf/v1/configure_plugins/)
-   [Redis Time Series Plugin Source](https://github.com/influxdata/telegraf/tree/v1.38.4/plugins/outputs/redistimeseries/README.md)
