Skip to content
New issue

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

in_syslog: add 'emit_unmatched_lines' option #2499

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

candlerb
Copy link
Contributor

Fixes #2497

Signed-off-by: Brian Candler b.candler@pobox.com

What this PR does / why we need it:

Many devices emit syslog messages which don't match expected format, and are otherwise thrown away. Add emit_unmatched_lines as per the equivalent in_tail option.

Docs Changes:

Add new parameter to https://github.com/fluent/fluentd-docs-gitbook/blob/1.0/plugins/input/syslog.md

Release Note:

### Enhancement

* in_syslog: Add `emit_unmatched_lines` to capture lines which don't parse

test/plugin/test_in_syslog.rb Outdated Show resolved Hide resolved
test/plugin/test_in_syslog.rb Outdated Show resolved Hide resolved
test/plugin/test_in_syslog.rb Outdated Show resolved Hide resolved
Fixes fluent#2497

Signed-off-by: Brian Candler <b.candler@pobox.com>
@repeatedly repeatedly merged commit a64a2b5 into fluent:master Jul 17, 2019
@repeatedly
Copy link
Member

Thanks!

repeatedly added a commit that referenced this pull request Jul 29, 2019
in_syslog: add 'emit_unmatched_lines' option
Signed-off-by: Masahiro Nakagawa <repeatedly@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"emit_unmatched_lines" option for in_syslog / in_udp
2 participants