-
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 filters stopped working in 1.9.3 #5524
Comments
We found the same problem while testing the fix for #4325 and eventually understood that this new issue does not depend on the rewrite_tag filter. We think it may be related to this change: 57ecb32 We think that with the above commit only one tag stream can be handled by a multiline filter section If more than one stream is processed by one multiline filter, then it breaks.
|
Could be complicated when you have a cluster with many different pods |
Thank you for reporting. Output: java.2 is broken if
java1.log:
java2.log:
a.conf:
|
@PettitWesley @edsiper The new In my testing, the last recently used parser |
Hello, We are also having issues with the multiline using the tail input ( reading log files from docker), where some logs ( usually bigger than 16k ) aren't being successfully joined by fuentbit. And we think this is not related with an specific language since we are testing with simple big strings and we're getting split lines on the output. |
@PettitWesley No I don't. |
Below diff may fix the issue. diff --git a/src/multiline/flb_ml.c b/src/multiline/flb_ml.c
index 5521f4f11..e9d235845 100644
--- a/src/multiline/flb_ml.c
+++ b/src/multiline/flb_ml.c
@@ -822,6 +822,7 @@ int flb_ml_append_object(struct flb_ml *ml, uint64_t stream_id,
flb_ml_flush_parser_instance(ml,
lru_parser,
lru_parser->last_stream_id);
+ lru_parser = NULL;
}
}
|
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
I sent a patch #5564 |
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
Hello, is there a way to review this PR? We are facing this issue too and we are thinking of building from scratch including these changes. Thank you. |
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
I can confirm that the issue is resolved in 1.9.6 |
Signed-off-by: Takahiro Yamashita <[email protected]> Signed-off-by: Manal Geries <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]> Signed-off-by: Manal Geries <[email protected]>
Bug Report
Describe the bug
Hello
After upgrading to 1.9.3 multiline filter stopped working at all. The multi lines are split.
Reverting to 1.9.2 solved the problem. The config files are the same without changes.
What could be a problem?
Tried to play wioth Emitter_Mem_Buf_Limit and buffer on/off but without any positive result :(
The config files:
The text was updated successfully, but these errors were encountered: