I am new on Grok. I am in stuck with multiple lines of log message below. Can anyone help me look at my grok. Thanks
The log message:
[timestamp: 1621431760] abort handler of pid 1823 thread 1848977280
*** Stacks of threads *** (current thread is 1848977280)
Stack of thread=1848977280, depth=3
main
shutdownServices
EMThriftServer::stop
logstash is consuming the multi-line log message one line at a time. If you are using filebeat you should use the multiline processing there to combine the lines into a single event.
logstash.conf contains extracted pid, thread and 2 part of message. I don't know a logic, which fields are important. Easiest is to put everything in the message after the timestamp. Of course you can parse depth, I assume services as fields.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.