See Logstash sending to all output hosts. Since that post was made Logstash 6 which supports multiple pipelines (if explicitly configured) is available.
You have a conditional wrapping the elasticsearch output in your Bind configuration file:
if [type] == "dnsmaldef" {
...
}
You don't have that kind of conditional wrapping the elasticsearch output in your Apache configuration file. Hence, events from the other file will be routed to that output.
Please show your configuration and an example of an event that ended up in the wrong index. You can copy/paste the raw JSON document from Kibana's JSON tab.
Well you know I was playing with configuration and logs are not even getting indexed with said config file however stdin & stdout are showing proper indexes.
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.