filestat plugin config fixup

This commit is contained in:
Cameron Sparr 2016-04-22 19:15:07 -06:00
parent 7b27cad1ba
commit 5b1e59a48c
2 changed files with 4 additions and 4 deletions

View File

@ -585,7 +585,7 @@
# ## Files to gather stats about. # ## Files to gather stats about.
# ## 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". See https://github.com/gobwas/glob. # ## ** as a "super asterisk". See https://github.com/gobwas/glob.
# ["/etc/telegraf/telegraf.conf", "/var/log/**.log"] # files = ["/etc/telegraf/telegraf.conf", "/var/log/**.log"]
# ## If true, read the entire file and calculate an md5 checksum. # ## If true, read the entire file and calculate an md5 checksum.
# md5 = false # md5 = false

View File

@ -20,7 +20,7 @@ const sampleConfig = `
## Files to gather stats about. ## Files to gather stats about.
## 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". See https://github.com/gobwas/glob. ## ** as a "super asterisk". See https://github.com/gobwas/glob.
["/etc/telegraf/telegraf.conf", "/var/log/**.log"] files = ["/etc/telegraf/telegraf.conf", "/var/log/**.log"]
## If true, read the entire file and calculate an md5 checksum. ## If true, read the entire file and calculate an md5 checksum.
md5 = false md5 = false
` `