Test multiline pattern - random order

Hi
I have elk stack 8.3

I need to test multiline patterns.
I do it so that I write a given part of the log to the .txt file, and then rewrite it to the log file monitored by filebeat

example:

[xxx @ xxx logs] # cat test_pattern.txt
1
2
3
4
5
6
7
8
9

next
[xxx @ xxxlogs] # cat test_pattern.txt >> log_file.log

Unfortunately, it gets to the elasticsearch log in a random order and now I have a problem how to test my patterns.

Screenshot 2022-08-17 at 13-50-24 Discover - Elastic

Please help.
Where and how can i test my patterns?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.