Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
45
docs/DATA_FORMATS_INPUT.md
Normal file
45
docs/DATA_FORMATS_INPUT.md
Normal file
|
@ -0,0 +1,45 @@
|
|||
# Input Data Formats
|
||||
|
||||
Telegraf contains many general purpose plugins that support parsing input data
|
||||
using a configurable parser into [metrics][]. This allows, for example, the
|
||||
`kafka_consumer` input plugin to process messages in any of InfluxDB Line
|
||||
Protocol, JSON format, or Apache Avro format.
|
||||
|
||||
- [Avro](/plugins/parsers/avro)
|
||||
- [Binary](/plugins/parsers/binary)
|
||||
- [Collectd](/plugins/parsers/collectd)
|
||||
- [CSV](/plugins/parsers/csv)
|
||||
- [Dropwizard](/plugins/parsers/dropwizard)
|
||||
- [Form URL Encoded](/plugins/parsers/form_urlencoded)
|
||||
- [Graphite](/plugins/parsers/graphite)
|
||||
- [Grok](/plugins/parsers/grok)
|
||||
- [InfluxDB Line Protocol](/plugins/parsers/influx)
|
||||
- [JSON](/plugins/parsers/json)
|
||||
- [JSON v2](/plugins/parsers/json_v2)
|
||||
- [Logfmt](/plugins/parsers/logfmt)
|
||||
- [Nagios](/plugins/parsers/nagios)
|
||||
- [OpenMetrics](/plugins/parsers/openmetrics)
|
||||
- [OpenTSDB](/plugins/parsers/opentsdb)
|
||||
- [Parquet](/plugins/parsers/parquet)
|
||||
- [Prometheus](/plugins/parsers/prometheus)
|
||||
- [PrometheusRemoteWrite](/plugins/parsers/prometheusremotewrite)
|
||||
- [Value](/plugins/parsers/value), ie: 45 or "booyah"
|
||||
- [Wavefront](/plugins/parsers/wavefront)
|
||||
- [XPath](/plugins/parsers/xpath) (supports XML, JSON, MessagePack, Protocol Buffers)
|
||||
|
||||
Any input plugin containing the `data_format` option can use it to select the
|
||||
desired parser:
|
||||
|
||||
```toml
|
||||
[[inputs.exec]]
|
||||
## Commands array
|
||||
commands = ["/tmp/test.sh", "/usr/bin/mycollector --foo=bar"]
|
||||
|
||||
## measurement name suffix (for separating different commands)
|
||||
name_suffix = "_mycollector"
|
||||
|
||||
## Data format to consume.
|
||||
data_format = "json"
|
||||
```
|
||||
|
||||
[metrics]: /docs/METRICS.md
|
Loading…
Add table
Add a link
Reference in a new issue