I have the input logs like this:
C1 is completed on 2018-12-27.
C2 is running.
Now it is 2018-12-28.
What I want to output to ES is:
Basically it needs to combine line #2 and #3 into one line and use the pattern to parse the output, or parse #2 and #3 lines separately and then combine these two values together. How can I do that?