-
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
[BUG] Mutliline regex for Tail input plugin does not work #2473
Comments
Hey @stanislaw55 - I believe I faced the same or a very related issue as you. I've raised #2495 which seems to fix the issues I was facing. I ran your multiline message through my branch (without any parsers set) and got the following output. Is this roughly what you were expecting?
|
Hi @tom-dudley About the results: actually, the best I could get was similar to what you have presented but each What I was expecting was something liek this
from multiline message |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Multiline UpdateAs part of Fluent Bit v1.8, we have released a new Multiline core functionality. This new big feature allows you to configure new For now, you can take at the following documentation resources:
Documentation pages now point to complete config examples that are available on our repository. Thanks everyone for supporting this! |
Bug Report
Describe the bug
Mutliline regex for Tail input plugin does not work.
I have log in which
message
filed can be one line but also multi lines. When I used configuration below, it worked well with single line ofmessage
field:in parsers file
However, it just appends all stuff to
thread
key whenmessage
is mutliple lines. I've tried using this parserTo be honest I've tried so many combinations that I've lost count and none of them seems to be working as I expect them to do.
To Reproduce
Single line of
message
fieldMultiline
message
fieldmessage
are absent and whole whole is appended tothread
fieldExpected behavior
message
filed in produced JSON shall contain whole message, even if it's multiline.Screenshots
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: