telegraf/plugins/parsers/influx
Daniel Nelson 04f3c4321c
Fix several influx parser issues (#5484)
- Add line/column position
- Allow handlers to return errors
- Fix tag value escaping
- Allow newline in string fields
2019-02-26 10:48:41 -08:00
..
README.md Split parser/serializer docs (#4690) 2018-09-17 11:45:08 -07:00
escape.go
handler.go Fix several influx parser issues (#5484) 2019-02-26 10:48:41 -08:00
machine.go Fix several influx parser issues (#5484) 2019-02-26 10:48:41 -08:00
machine.go.rl Fix several influx parser issues (#5484) 2019-02-26 10:48:41 -08:00
machine_test.go Fix several influx parser issues (#5484) 2019-02-26 10:48:41 -08:00
parser.go Fix several influx parser issues (#5484) 2019-02-26 10:48:41 -08:00
parser_test.go Fix several influx parser issues (#5484) 2019-02-26 10:48:41 -08:00

README.md

InfluxDB Line Protocol

There are no additional configuration options for InfluxDB line protocol. The metrics are parsed directly into Telegraf metrics.

Configuration

[[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"