Fluentd Concat not working on multilines properly, Missing few lines. Kindly help #3848
Unanswered
bhanupraveeng
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Below is my filter where I am trying to contact all lines into a single message between "<exclusive-start"
<filter gclog.**> @type concat key message multiline_start_regexp /^\<exclusive-start.*/ </filter>
Source Config
`
`Log file Content:
I need to get 8 separate messages. but it is getting only 3. The problem is sometimes it captures all lines between 2 " <exclusive-start" works and sometimes it's not able to log those lines only. So not able to find the reg exp and omitting all those lines.
Below is the output messages. As per below, Message 1 and Message 3 are correct. Message 2 is wrong as its omitting many lines in the logs and so not able to identify regular expression pattern. Pls let me know the resolution
MESSAGE1:
MESSAGE2:
MESSAGE3:
Beta Was this translation helpful? Give feedback.
All reactions