I am trying to apply filter only if message has certain string.
For example my message has "skipping L1 entity store" and my config looks like,
filter {
if [msg] == "skipping L1 entity store" {
drop { }
}
}
i tried -
if "skipping L1 entity store" in [msg]
as well
Maybe it's the spaces?
i'm sure that the data is in the field called [msg], i have a lot of filters and this is the only one that i can't make it to work, sapces is the only thing i have on this string that i do not have on the others..do i need to escape them in any way?
Condition is not working at all. Please help me to use condition to check above mentioned string in
Thanks
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.