Telegraf data formats
Telegraf supports data formats on both sides of the pipeline:
- Input data formats (parsers) convert raw data, such as JSON, CSV, or
Prometheus exposition format, into Telegraf metrics.
Input plugins that support parsing provide the
data_formatoption to select one. - Output data formats (serializers) convert Telegraf metrics into the
format a destination expects, such as InfluxDB line protocol, JSON, or
Graphite.
Output plugins that support serialization provide the
data_formatoption to select one.
This section is the reference for every format and its options:
Input data formats
Telegraf input plugins use parsers to convert incoming data, such as JSON, CSV, and Prometheus format, into Telegraf metrics.
Output data formats
Telegraf serializes metrics into output data formats.
Telegraf template patterns
Template patterns describe how a dot-delimited string should be mapped to and from Telegraf metrics.
For task-focused guides with worked examples, see Parse incoming data and Serialize outgoing data.
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.