I have a log a file that has 10-12 lines per paragraph and this same pattern repeats.
From this log file I need to select only 4-5 lines . Tried to use include lines but in elastic search i am not getting these as a single filtered message. instead it is coming as multiple messages.
This is my line#1
This is my line#2
Yes line number3
This is my lastline.
Here I have to get only line number 3 and the last line. Added include lines with corresponding regular expressions and it is working. But the issue is elastic search shows "Yes line number3" and "This is my lastline." as two separate lines/indexes. How can I get it as a single message like:
"Yes line number3
This is my lastline."