Telegraf output data formats
This page documents an earlier version of Telegraf. Telegraf v1.21 is the latest stable version. View this page in the v1.21 documentation.
In addition to output-specific data formats, Telegraf supports the following set of common data formats that may be selected when configuring many of the Telegraf output plugins.
Carbon2 output data format
Use the Carbon2 output data format (serializer) to convert Telegraf metrics into the Carbon2 format.
Graphite output data format
Use the Graphite output data format to serialize data from Telegraf metrics.
InfluxDB Line Protocol output data format
The influx
data format outputs metrics into the InfluxDB Line Protocol format.
JSON output data format
Telegraf’s json
output data format converts metrics into JSON documents.
MessagePack output data format
Use the MessagePack output data format (serializer) to convert Telegraf metrics into MessagePack format.
ServiceNow Metrics output data format
Use the ServiceNow Metrics output data format (serializer) to output metrics in the ServiceNow Operational Intelligence format.
SplunkMetric output data format
The SplunkMetric serializer formats and outputs data in a format that can be consumed by a Splunk metrics index.
You will be able to identify the plugins with support by the presence of a
data_format
configuration option, for example, in the File (file
) output plugin:
[[outputs.file]]
## Files to write to, "stdout" is a specially handled file.
files = ["stdout"]
## Data format to output.
## Each data format has its own unique set of configuration options, read
## more about them here:
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
data_format = "influx"
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, the following resources are available:
InfluxDB Cloud customers can contact InfluxData Support.