i have a log in which i have to parse some informations
i have did 7 patterns (7 config files )
and i have to stock this informations in elasticsearch
well when i use logstash to run each config file
it works !
but when i use the directory path
to run them all at the same time does not work!
could ypu please help me
and i work for the same log !
but when i didn't make
if "_grokparsefailure" in [tags] {
drop {}
}
it works
the problem is that when i didn't use it
it parse all the lines (2000 lines )
and in elasticsearch tables
i found the researchable lines and the other lines
some one can help me please !
Unless you use the multi-pipeline feature Logstash configuration files aren't independent. Logstash merges them together so that all events from all events will reach all filters and outputs unless you use conditionals.
This is an extremely common misconception that people ask about every week. Please consult old threads for elaborations.
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.