telegraf/plugins/inputs/reader
Max U 8063b38b2d address some of Daniel's comments 2018-07-03 11:29:11 -07:00
..
dev Formatting and revert Makefile 2018-06-26 17:12:11 -06:00
testfiles add more test files 2018-06-21 16:06:36 -07:00
README.md update readmes 2018-06-27 13:30:59 -07:00
reader.go address some of Daniel's comments 2018-07-03 11:29:11 -07:00
reader_test.go condense telegraf.conf 2018-06-26 13:18:43 -07:00

README.md

Reader Input Plugin

The Reader Plugin updates a list of files every interval and parses the data inside. Files will always be read from the beginning.
This plugin can parse any "data_format" formats.

Configuration:

[[inputs.reader]]
## Files to parse each interval.
## These accept standard unix glob matching rules, but with the addition of
## ** as a "super asterisk". ie:
##   /var/log/**.log     -> recursively find all .log files in /var/log
##   /var/log/*/*.log    -> find all .log files with a parent dir in /var/log
##   /var/log/apache.log -> only tail the apache log file
files = ["/var/log/apache/access.log"]

## The dataformat to be read from files
## 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 = ""