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
Describe the bug #2499 introduced the option emit_unmatched_lines to the syslog input to keep messages in the pipeline even if parsing fails.
Due to the way this was implemented source_hostname_key or source_address_key do not get included in the emitted message even though this information is provided by the underlying udp/tcp server.
Describe the bug
#2499 introduced the option
emit_unmatched_lines
to the syslog input to keep messages in the pipeline even if parsing fails.Due to the way this was implemented
source_hostname_key
orsource_address_key
do not get included in the emitted message even though this information is provided by the underlying udp/tcp server.fluentd/lib/fluent/plugin/in_syslog.rb
Lines 208 to 210 in 9e88103
fluentd/lib/fluent/plugin/in_syslog.rb
Lines 220 to 222 in 9e88103
fluentd/lib/fluent/plugin/in_syslog.rb
Lines 240 to 242 in 9e88103
To Reproduce
emit_unmatched_lines true
andsource_hostname_key source_hostname
and inject some unparseable message.unmatched_line
and nosource_hostname
Expected behavior
source_hostname_key
andsource_address_key
should be honored even for unmatched lines.Your Environment
The text was updated successfully, but these errors were encountered: