Filebeat logstash loadbalance to kafka

How to send logs from filebeat/logstash to kafak to multiple datacenters if one datacenter is down logs to be sent to another datacenter.

I don't think this is possible using Filebeat or Logstash alone, you would need a load balancer like HAProxy before sending to Kafka.

Logstash can send data to multiple outputs, but not in a way that it would check if the output is up or down and switch to another one if it is down.

While you can try to implement something like that using some logstash filters, it would be very tricky and I think that the best choice is to use a load balancer like HAProxy.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.