2018-05-05 09:27:31 +08:00
|
|
|
# Output Data Formats
|
2016-02-13 06:09:34 +08:00
|
|
|
|
2018-05-05 09:27:31 +08:00
|
|
|
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.
|
2016-04-09 06:04:45 +08:00
|
|
|
|
2018-09-18 02:45:08 +08:00
|
|
|
1. [InfluxDB Line Protocol](/plugins/serializers/influx)
|
2019-11-27 07:46:31 +08:00
|
|
|
1. [Carbon2](/plugins/serializers/carbon2)
|
2018-09-18 02:45:08 +08:00
|
|
|
1. [Graphite](/plugins/serializers/graphite)
|
2019-11-27 07:46:31 +08:00
|
|
|
1. [JSON](/plugins/serializers/json)
|
2021-03-03 03:48:58 +08:00
|
|
|
1. [MessagePack](/plugins/serializers/msgpack)
|
2019-11-27 07:46:31 +08:00
|
|
|
1. [Prometheus](/plugins/serializers/prometheus)
|
2021-01-13 01:44:59 +08:00
|
|
|
1. [Prometheus Remote Write](/plugins/serializers/prometheusremotewrite)
|
|
|
|
|
1. [ServiceNow Metrics](/plugins/serializers/nowmetric)
|
2018-09-18 02:45:08 +08:00
|
|
|
1. [SplunkMetric](/plugins/serializers/splunkmetric)
|
2019-04-06 05:46:12 +08:00
|
|
|
1. [Wavefront](/plugins/serializers/wavefront)
|
2016-04-09 06:04:45 +08:00
|
|
|
|
2018-05-05 09:27:31 +08:00
|
|
|
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:
|
2016-02-13 06:09:34 +08:00
|
|
|
|
|
|
|
|
```toml
|
|
|
|
|
[[outputs.file]]
|
2016-02-19 05:26:51 +08:00
|
|
|
## Files to write to, "stdout" is a specially handled file.
|
2018-09-18 02:45:08 +08:00
|
|
|
files = ["stdout"]
|
2016-02-13 06:09:34 +08:00
|
|
|
|
2016-04-09 06:04:45 +08:00
|
|
|
## Data format to output.
|
2016-02-13 06:09:34 +08:00
|
|
|
data_format = "influx"
|
2018-05-05 09:27:31 +08:00
|
|
|
```
|