filestat plugin config fixup
This commit is contained in:
parent
7b27cad1ba
commit
5b1e59a48c
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue