Hi Team,
I am new to ELK stack and I just setup an ELK stack which collects logs from tomcat log directory.
My requirement is it should only capture SEVERE AND ERROR messages in the log files present in the log directory.
Any ideas how to achieve it ?
Kind Regards, Asif Bhat
Use a conditional in Logstash with a drop filter and you should be good.
Thanks a lot Mark.
Any general document link that can be helpful here.
https://www.elastic.co/guide/en/logstash/6.2/config-examples.html#using-conditionals https://www.elastic.co/guide/en/logstash/6.2/plugins-filters-drop.html
Fantastic!!! Thanks a lot.
© 2020. All Rights Reserved - Elasticsearch
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.