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
The docker_events plugin reads from the socket, assuming that it only received one event. However, when there are many events, it might read 2 or more events at the same time, leading to a string that contains two or more JSON blobs with a newline in between.
To Reproduce
Run fluent-bit with docker_events input and json parser in one terminal:
Bug Report
Describe the bug
The docker_events plugin
read
s from the socket, assuming that it only received one event. However, when there are many events, it might read 2 or more events at the same time, leading to a string that contains two or more JSON blobs with a newline in between.To Reproduce
Run fluent-bit with docker_events input and json parser in one terminal:
Then generate a high rate of docker events by running 10 docker exec's in parallel:
The first terminal will show the log with some parser errors:
Expected behavior
Each docker event should result in one event in fluent-bit.
Your Environment
Repro on Ubuntu 22.04 with Fluent Bit v3.2.4 from the official docker image and Docker package version 5:27.4.1-1
ubuntu.22.04jammyThe text was updated successfully, but these errors were encountered: