We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Despite being documented as working, you cannot use newlines in the pattern field of logparser
[[inputs.logparser]] files = ["/var/log/auth.log"] from_beginning = false watch_method = "inotify" [inputs.logparser.grok] patterns = [''' %{SYSLOGTIMESTAMP:timestamp} ''']
Telegraf 1.5.3
Apr 10 05:11:57
Line is parsed
Line is not matched
Will parse if whitespace is removed:
patterns = ['''%{SYSLOGTIMESTAMP:timestamp}''']
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug report
Despite being documented as working, you cannot use newlines in the pattern field of logparser
Relevant telegraf.conf:
System info:
Telegraf 1.5.3
Steps to reproduce:
Expected behavior:
Line is parsed
Actual behavior:
Line is not matched
Additional info:
Will parse if whitespace is removed:
The text was updated successfully, but these errors were encountered: