Hello. I'm trying to send all the logs to multiple hosts, each host should receive all the logs being read by Filebeat. Is there a way to do this without having one Filebeat Service per host with a specific configuration. Please note that I don't want to load balance the logs. I'm trying to study the same logs on two different systems. Thanks for the help!
Is the following what you are looking for? https://github.com/elastic/beats/issues/1035
Thanks, this looks like it is what I need.
I'm sending logs to a logstash server and to a graylog server.
Then in my filebeat.yml I can have something like this:
output:
### Logstash as output
logstash:
# The Logstash Development hosts
hosts: ["logstash.dev.com:5044"]
.
.
.
logstash:
# The Logstash Production hosts
hosts: ["logstash.prod.com:5044"]
.
.
.
Does that looks good? @ruflin
The issue I sent was opened 7 days ago and is only in a discussion phase. There is nothing implemented or decided yet.
@ruflin thanks for the quick reply. I will then follow the conversations of the issue.
Thanks!!
Also check my reply why I think it's actually a bad idea to have filebeat output to dev and production logstash at the same time.
@steffens thanks I will look into it. I appreciate your time!