telegraf/plugins/outputs/file
Carlos 7f24cb1edd Added default config to file output pugin's README (#2426) 2017-02-20 11:50:39 +01:00
..
README.md Added default config to file output pugin's README (#2426) 2017-02-20 11:50:39 +01:00
file.go file output plugin fixup 2016-12-02 11:36:22 +00: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 it's 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"