In this post, we will see how to resolve How to replace search time with “time” field in fluentbit?
Question:
I defined a customized multiline parser with regex and another parser to split time and log line into fields “time” and “message” respectively:
How could I replace the search time with the value of “time”?
Here is my multiline parser, invoked with tail input:
Try to find a solution to complete this search.
Best Answer:
Issue fixed after adding a parameter Time_Format in Parser jsm, this has to match the time format in the log entry, otherwise it will be ignored.If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com
Leave a Review