Hi,
logstash read the file line by line and add each line to Elasticsearch ok but i just want to add it with a condition when he find "EXCEPTION".
example of my log file:
01/01/2022 15:00:02 546- MAIN EXCEPTION :
System.IO.IOException: Unable.......
at System ......
at System ....
01/01/2022 15:00:03 535- S....
01/01/2022 15:00:03 535- GA.....
I want to send just the "exception" to 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.