docs-v2/content/telegraf/v1/data_formats/input/influx.md

1004 B

title list_title description menu
InfluxDB line protocol input data format InfluxDB line protocol Use the `influx` line protocol input data format to parse InfluxDB metrics directly into Telegraf metrics.
telegraf_v1_ref
name weight parent
InfluxDB line protocol 10 Input data formats

Use the influx line protocol input data format to parse InfluxDB line protocol data 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"

  ## Influx line protocol parser
  ## 'internal' is the default. 'upstream' is a newer parser that is faster
  ## and more memory efficient.
  ## influx_parser_type = "internal"