Hi,
My use case is to match one of the regex using multiple grok in one filter.Tried using multiple filter but not matching one of the pattern even though that pattern is present in input.
grok
{
match => [ "message" , "killed by TERM signal" ]
add_field =>
{
"tagName"=> "GENERIC_EMERGENCY"
"module" => "null"
}
}
What you get as an input is stored in "message". Try to match it with one pattern just to see if it is working fine, and then you can add multiple grok patterns in your file.
Can you share json of your logs simply using this?
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.