I want drop logfile mean shoudn't export to elasticsearch, like if any log message contains "monitoring" keyword i want to drop that event. can any anyone suggest me how to do that ?
filter {
if [loglevel] == "debug" {
drop { }
}
}
The above example will drop the event when loglevel debug, but drop event when log message contains "monitoring" keyword
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.