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
syslog input and stdout output are configured in Fluent Bit.
When sending JSON formatted logs to the Fluent Bit syslog input, there is a ~70% chance that Fluent Bit won't accept these logs and start returning Log event decoder error errors on every attempt.
Additionally, if there is a Lua filter configured, Fluent Bit may start showing Log event encoder error errors as well.
To Reproduce
Configure syslog TCP input with JSON parser and stdout output:
[SERVICE]
Flush 1
Log_Level warning
Parsers_File /etc/fluent-bit/parsers.conf
HTTP_Server On
[INPUT]
Name syslog
Tag syslog.*
Parser json
Mode tcp
Listen 127.0.0.1
Port 24330
[OUTPUT]
Name stdout
Match syslog.*
Expected behavior
Fluent Bit processes syslog messages without raising the Log event decoder error or Log event encoder error errors.
Screenshots
Your Environment
Version used:
3.1.0
Configuration:
[SERVICE]
Flush 1
Log_Level warning
Parsers_File /etc/fluent-bit/parsers.conf
HTTP_Server On
[INPUT]
Name syslog
Tag syslog.*
Parser json
Mode tcp
Listen 127.0.0.1
Port 24330
[OUTPUT]
Name stdout
Match syslog.*
Environment:
Ubuntu 22.04.5 LTS
Additional context
The problem started to appear on version 3.1.0 and can be reproduced on the latest (3.1.9 at the moment) as well.
I'm not able to reproduce the issue on version 3.0.7.
As mentioned in the description, there is a chance that after restart Fluent Bit won't raise any errors while receiving the same message:
Describe the bug
syslog input and stdout output are configured in Fluent Bit.
When sending JSON formatted logs to the Fluent Bit syslog input, there is a ~70% chance that Fluent Bit won't accept these logs and start returning
Log event decoder error
errors on every attempt.Additionally, if there is a Lua filter configured, Fluent Bit may start showing
Log event encoder error
errors as well.To Reproduce
Configure syslog TCP input with JSON parser and stdout output:
Send JSON formatted message to the syslog input:
Check Fluent Bit stdout output:
Expected behavior
Fluent Bit processes syslog messages without raising the
Log event decoder error
orLog event encoder error
errors.Screenshots
Your Environment
3.1.0
Ubuntu 22.04.5 LTS
Additional context
The problem started to appear on version 3.1.0 and can be reproduced on the latest (3.1.9 at the moment) as well.
I'm not able to reproduce the issue on version 3.0.7.
As mentioned in the description, there is a chance that after restart Fluent Bit won't raise any errors while receiving the same message:
As also mentioned, adding a random Lua script may result in two errors:
The text was updated successfully, but these errors were encountered: