telegraf/plugins/outputs/file
Daniel Nelson 1c0f63a90d
Add new line protocol parser and serializer, influxdb output (#3924)
2018-03-27 17:30:51 -07:00
..
README.md Fix grammar 2017-04-27 14:59:18 -07:00
file.go Add new line protocol parser and serializer, influxdb output (#3924) 2018-03-27 17:30:51 -07:00
file_test.go Add Serializer plugins, and 'file' output plugin 2016-02-12 15:05:27 -07:00

README.md

file Output Plugin

This plugin writes telegraf metrics to files

Configuration

[[outputs.file]]
  ## Files to write to, "stdout" is a specially handled file.
  files = ["stdout", "/tmp/metrics.out"]

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