37 lines
1.4 KiB
Markdown
37 lines
1.4 KiB
Markdown
|
---
|
||
|
title: Telegraf output data formats
|
||
|
description: Telegraf serializes metrics into output data formats for InfluxDB Line Protocol, JSON, Graphite, and Splunk metrics.
|
||
|
menu:
|
||
|
telegraf_1_14:
|
||
|
name: Output data formats (serializers)
|
||
|
weight: 1
|
||
|
parent: Data formats
|
||
|
---
|
||
|
|
||
|
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](/telegraf/v1.14/data_formats/output/carbon2)
|
||
|
* [Graphite](/telegraf/v1.14/data_formats/output/graphite)
|
||
|
* [InfluxDB Line Protocol](/telegraf/v1.14/data_formats/output/influx)
|
||
|
* [JSON](/telegraf/v1.14/data_formats/output/json)
|
||
|
* [ServiceNow Metrics](/telegraf/v1.14/data_formats/output/nowmetric)
|
||
|
* [SplunkMetric](/telegraf/v1.14/data_formats/output/splunkmetric)
|
||
|
* [Wavefront](/telegraf/v1.14/data_formats/output/wavefront)
|
||
|
|
||
|
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:
|
||
|
|
||
|
```toml
|
||
|
[[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"
|
||
|
```
|