Documentation

Write data with output plugins

Output plugins define where Telegraf delivers collected metrics. Send metrics to InfluxDB or to a variety of other datastores, services, and message queues, including Graphite, OpenTSDB, Datadog, Kafka, MQTT, and NSQ.

For a complete list of output plugins and links to their detailed configuration options, see output plugins.

Output plugins and data formats

Output plugins control where metrics go. Many output plugins also support data formats (serializers) that control how metrics are formatted before writing.

Configure a serializer using the data_format option in your output plugin:

[[outputs.http]]
  url = "http://example.com/metrics"
  data_format = "json"

Some output plugins (like influxdb_v2 or prometheus_client) use a fixed format and don’t support data_format. Others (like file, http, kafka) support multiple serializers.

For available serializers and their options, see output data formats.


Was this page helpful?

Thank you for your feedback!


New in InfluxDB 3.8

Key enhancements in InfluxDB 3.8 and the InfluxDB 3 Explorer 1.6.

See the Blog Post

InfluxDB 3.8 is now available for both Core and Enterprise, alongside the 1.6 release of the InfluxDB 3 Explorer UI. This release is focused on operational maturity and making InfluxDB easier to deploy, manage, and run reliably in production.

For more information, check out:

InfluxDB Docker latest tag changing to InfluxDB 3 Core

On February 3, 2026, the latest tag for InfluxDB Docker images will point to InfluxDB 3 Core. To avoid unexpected upgrades, use specific version tags in your Docker deployments.

If using Docker to install and run InfluxDB, the latest tag will point to InfluxDB 3 Core. To avoid unexpected upgrades, use specific version tags in your Docker deployments. For example, if using Docker to run InfluxDB v2, replace the latest version tag with a specific version tag in your Docker pull command–for example:

docker pull influxdb:2