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!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Telegraf and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.