After upgrading to 7.1.0, the logic seems to have changed.
I used to have this grok:
grok {
match => { "message" => "webapp=%{URIPATH:webapp} path=%{URIPATH:path} params={%{GREEDYDATA:Params}} hits=%{BASE10NUM:hits} status=%{BASE10NUM:status} QTime=%{BASE10NUM:QTime2:int}" }
match => { "message" => "webapp=%{DATA:webapp} path=%{URIPATH:path} params={%{GREEDYDATA:Params}} status=%{BASE10NUM:status} QTime=%{BASE10NUM:QTime2:int}" }
match => { "message" => "%{GREEDYDATA}" }
}
So that if none of the first two worked it would grok the last one.
However after the upgrade, only the last match is invoked. I have tried moving the "greedy" one to the top of the list and then one of the two other match-lines are used correctly.
I have tried adding the break_on_match => true line, but that does not seem to do anything.
Can anyone verify 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.