-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Multiline parser does not works for multiple inputs #5452
Comments
I see a similar behaviour with 1.9.3 on k8s with a single input but 2 containers/pods on the same node. Both pods logs java exceptions, but only the first pods if properly logging a single java exception, the second is not. After a restart of the fluentbit and if I change order then the other one is properly sending a single exception. Reproduce: Version1:
Result: pod1 exception == single record, pod 2 exception == one record per line Version2:
Result: pod2 exception == single record, pod 1 exception == one record per line Config:
|
Actually I created a simple reproducer for this that works locally and uses the java example from the manual. Reproducer
Output
As we can the first log os parsed correctly
The second is not
|
I had the same problem as you |
Hello there, wanted to follow up. I re-ran the reproducer with the 1.9.6 version of fluent bit and I do see this works now
🎉 |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the |
This issue was closed because it has been stalled for 5 days with no activity. |
Bug Report
Describe the bug
I have a cluster of Kubernetes with 2 pods and I want to compile logs from each module separately.
But the multiline parser only works for the first INPUT and does not work for the second INPUT
To Reproduce
My config
Expected behavior
All INPUTs and OUTPUTs correctly parse multiline logs and merge them to one log
Screenshots
First pod: multiline work
Second pod: multiline does not work
Your Environment
KubernetesVersion: 1.20.10
Image: amazon/aws-for-fluent-bit:2.23.2
The text was updated successfully, but these errors were encountered: