Hello, I am trying to use multiple grok pattern under single grok, but when any of the pattern matches, it should not add tag_on_failure. Or can I add tag_on_failure for each pattern? Configuration is as below:
In above case, when logline matches with pattern1 and failed with pattern2 then it add tag_on_failure to it and when logline doesn't match with pattern1 but match with pattern2 then it will not add tag_on_failure.
Thanks for the reply and help Bardie. Can you tell me one more thing that why do we need to write "break_on_match => true" when its the default value ? So is that the case with other options as well ?
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.