I am a redhat user using Filebeat 6.2.2 installed through rpm.
I need to send some log files to multiple logstash instances and the only solution in my situation is running two filebeat instances in parallel.
I've found some topics talking about systemctl or filebeat-god methods, but no one seems to be adapted to my Redhat environment.
I'm actually running filebeat as a service through the command "service filebeat start"
How can I run another instance of a filebeat service in parallel ?
1 - I tried to launch a second instance with new conf and registry files through filebeat-god, with no success.
2 - Impossible, because I don't want to "separate" data, I want to duplicate them
The reason for this need is that we have two internal projects which need to receive each a copy of log lines.
The two projects can't exchange data directly and we have to send them through Filebeat to two Logstash in parallel.
I found a temporary solution,
I installed a .tar.gz version of filebeat in another path, and I've duplicated the configuration from the first filebeat.
Then I start this standalone filebeat instance with a "nohup" command to detach it from the shell and my SSH session.
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.