I am having serious problems parsing some logs of ours. The Problem is that the messages, which are also multiline, begin in the middle of the line. There is a workable pattern for the beginning of the message but how can I instruct logstash to correctly cut the message?
the log looks something like this:
{code}
beginmessage:restofthemessage:otherinfo #0stack #1stackbeginmessage:rest....
{code}
trying something like
{code}
multiline {
pattern => "begin*"
negate => true
what => previous
}
{code}
doesn't work.
I could get the right parts of the message. Problem is now that they are intermingled. How can I form an entry using the lasthalf from the last message and the firsthalf from the current one?
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.