Filebeat does not loadbalance if hosts are from same subnet and a different subnet


(Ihjaz Mohamed) #1

Hi,

I have the following configuration in my filebeat.yml .

#----------------------------- Logstash output --------------------------------
output.logstash:
  # The Logstash hosts
  hosts: ["10.133.132.xxx:5044", "10.129.xxx.xxx:5044"]
  loadbalance: true

The server where the filebeat is running belongs to the network 10.133.132.x. When I try the above configuration I see that the logs are getting shipped only to the host on the same network even though the loadbalance is enabled.

There are no errors in the filebeat.log so connectivity is good.


(Adrian Serrano) #2

The output's load balancing make no distinction between subnets, you should see logs shipped to both hosts. Maybe there is a configuration problem in one of the logstash hosts and is dropping events?


(system) #3

This topic was automatically closed after 21 days. New replies are no longer allowed.