Then i'm starting Logstash from command Line:
/usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/examplelk01.conf,/etc/logstash/conf.d/packetbeat.conf
Logstash's failed to run
can you help me please... what am i missing or any otherway to solve that issue ??
[WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
Remove -f /etc/logstash/conf.d/examplelk01.conf,/etc/logstash/conf.d/packetbeat.conf from the command line. logstash will then read pipelines.yml and run each configuration file in its own pipeline.
If you keep the -f then logstash will concatenate the configuration files into a single configuration. It will read events from both beats inputs, and send them all to both elasticsearch outputs.
@Badger
thank you for the response friend,
the logstash is running with the 2 config files,
but both the winlogeat agent and the packetbeat agent are writing events to the 2 indices:
logstash and packetbeat,
Although I have set in both Conf Files to send to a separate index as you can see
As I said, if you use -f then logstash will concatenate the configuration files into a single configuration. It will read events from both beats inputs, and send them all to both elasticsearch outputs. Similarly if you set path.config in pipelines.yml to include both configurations for one pipeline.
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.