I am willing to set up winlogbeat to send logs to my Kafka cluster (3 machines)
I have seen that I can set several Kafka destination servers, thanks to the following config
According to this filebeat document, the Kafka output handles loadbalancing internally. I can only assume that Winlogbeat uses the same Kafka output as Filebeat.
When using kafka it is the client that is responsible for load balancing. It's a load-balance always service! Clients have to choose a partition and then send events to the current leader of that partition. Do not put kafka behind HAProxy or any other load balancer. The kafka leader provides a cluster state with a (topic/partition ID)->kafka host mapping to the client.
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.