You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat /etc/*release
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Red Hat Enterprise Linux Server release 6.9 (Santiago)
Red Hat Enterprise Linux Server release 6.9 (Santiago)
$ uname -r
2.6.32-696.1.1.el6.x86_64
$ telegraf --version
Telegraf 1.9.3 (git: HEAD 6ad8c8b0)
Steps to reproduce:
Configure Telegraf's tail plugin with watch_method = "inotify"
Expected behavior:
It should created new metrics on arrival of new lines into the tailed file.
Actual behavior:
It doesn't create new metrics at all for the watched files - like inotify doesn't work.
Additional info:
If I update the config file with watch_method = "poll", and start watching the exact same files and add the exact same lines into the watched files (in other words, what effectively changes is just watch_method), then it works - metrics are being parsed and written to output.
debug = true in agent conf doesn't provide any clue.
I use tail plugin with csv data format and parse Apache HTTPD access log files (csv formatted)
The text was updated successfully, but these errors were encountered:
Because #3573 has been resolved, I am assuming this issue can be closed as well seeing there hasn't been new reported issues related to this since. Please comment or reopen if that isn't the case so we can investigate further. Thanks!
Relevant telegraf.conf:
System info:
Steps to reproduce:
tail
plugin withwatch_method = "inotify"
Expected behavior:
It should created new metrics on arrival of new lines into the
tail
ed file.Actual behavior:
It doesn't create new metrics at all for the watched files - like
inotify
doesn't work.Additional info:
If I update the config file with
watch_method = "poll"
, and start watching the exact same files and add the exact same lines into the watched files (in other words, what effectively changes is justwatch_method
), then it works - metrics are being parsed and written to output.debug = true
in agent conf doesn't provide any clue.I use
tail
plugin withcsv
data format and parse Apache HTTPD access log files (csv formatted)The text was updated successfully, but these errors were encountered: