telegraf/plugins/outputs/file
Daniel Nelson 835f7c8434 Use random name for test sockets to avoid intermittent failure 2018-06-03 20:19:39 -07:00
..
README.md Fix grammar 2017-04-27 14:59:18 -07:00
file.go Ignore writer error in file output (#4055) 2018-04-23 15:08:04 -07:00
file_test.go Use random name for test sockets to avoid intermittent failure 2018-06-03 20:19:39 -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"