telegraf/plugins/parsers/influx/README.md

24 lines
670 B
Markdown
Raw Normal View History

# Influx Line Protocol
2018-09-18 02:45:08 +08:00
Parses metrics using the [Influx Line Protocol][].
2018-09-18 02:45:08 +08:00
[Influx Line Protocol]: https://docs.influxdata.com/influxdb/latest/reference/syntax/line-protocol/
2018-09-18 02:45:08 +08:00
## Configuration
2018-09-18 02:45:08 +08:00
```toml
[[inputs.file]]
files = ["example"]
## Data format to consume.
## 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_INPUT.md
data_format = "influx"
## Influx line protocol parser
## 'internal' is the default. 'upstream' is a newer parser that is faster
## and more memory efficient.
## influx_parser_version = "internal"
2018-09-18 02:45:08 +08:00
```