Fleet: Logstash Load Balancing?

I don't see this documented anywhere. For Fleet-managed Logstash Output, is there a way to loadbalance among the Logstash endpoints specified?

Hello Josh,

Take a look here: Logstash output | Fleet and Elastic Agent Guide [8.9] | Elastic

loadbalance - If true and multiple Logstash hosts are configured, the output plugin load balances published events onto all Logstash hosts. If false, the output plugin sends all events to one host (determined at random) and switches to another host if the selected one becomes unresponsive.

Default: false

So you would add loadbalance: true in the advanced YAML configuration of the output. (Disclaimer: I do not use it myself)

Best regards

Yes, I did see that, but that is for Standalone, not Fleet-managed.

I can't find the same info for Fleet-managed Logstash Outputs.

1 Like

It is the same configuration, you just need to add the multiple hosts in the logstash output.

Then you add the loadbalance: true in the advanced yaml box.

Ok, thanks for the confirmation!

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