Hi everyone!
I have 10 types of logs I need to process. They differ from each other but have some similarities, so I built a grok filter that matches each one, and non of the other types. How do I write it into the .conf logstash file so that the filter will analyze the log with the right grok match?
Plus, How to I turn the grok categories into aggregatable fields in kibana?
What I'm looking for is something like this:
filter{
grok{
match => {"messade" => grokPattern}
}
if no match:
grok{
match => {"messade" => anotherGrokPattern}
}
...
}
I have 10 types of logs I need to process. They differ from each other but have some similarities, so I built a grok filter that matches each one, and non of the other types. How do I write it into the .conf logstash file so that the filter will analyze the log with the right grok match?
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.