Resolved: How to replace search time with “time” field in fluentbit?

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: enter image description here
How could I replace the search time with the value of “time”?
Here is my multiline parser, invoked with tail input:
Here is the parser:
The parser above is invoked in Filter:
Thanks.
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