From 7f24cb1edd41db8762821fbef0b3e033b006431b Mon Sep 17 00:00:00 2001 From: Carlos Date: Mon, 20 Feb 2017 11:50:39 +0100 Subject: [PATCH] Added default config to file output pugin's README (#2426) --- plugins/outputs/file/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/plugins/outputs/file/README.md b/plugins/outputs/file/README.md index 6f3b7f513..a75297bb2 100644 --- a/plugins/outputs/file/README.md +++ b/plugins/outputs/file/README.md @@ -1 +1,16 @@ # 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" +```