change config file

This commit is contained in:
Max U 2018-06-21 11:44:02 -07:00
parent e12eced211
commit 08a11d7bfd
1 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@ type Reader struct {
Filenames []string Filenames []string
} }
const sampleConfig = `## Log files to parse. const sampleConfig = `## Files to parse.
## These accept standard unix glob matching rules, but with the addition of ## These accept standard unix glob matching rules, but with the addition of
## ** as a "super asterisk". ie: ## ** as a "super asterisk". ie:
## /var/log/**.log -> recursively find all .log files in /var/log ## /var/log/**.log -> recursively find all .log files in /var/log
@ -32,8 +32,7 @@ files = ["/var/log/apache/access.log"]
## Each data format has its own unique set of configuration options, read ## Each data format has its own unique set of configuration options, read
## more about them here: ## more about them here:
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
data_format = "" data_format = ""`
'''`
// SampleConfig returns the default configuration of the Input // SampleConfig returns the default configuration of the Input
func (r *Reader) SampleConfig() string { func (r *Reader) SampleConfig() string {