telegraf/docs/DATA_FORMATS_OUTPUT.md

875 B

Output Data Formats

In addition to output specific data formats, Telegraf supports a set of standard data formats that may be selected from when configuring many output plugins.

  1. InfluxDB Line Protocol
  2. JSON
  3. Graphite
  4. SplunkMetric

You will be able to identify the plugins with support by the presence of a data_format config option, for example, in the 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"