Technical enquiry - setting "hosts" in the "output" pipeline section

Take for example the documentation for plugins-outputs-lumberjack:

list of addresses lumberjack can send to

https://www.elastic.co/guide/en/logstash/current/plugins-outputs-lumberjack.html#plugins-outputs-lumberjack-hosts

This plugin can send data to hosts from an array called "hosts".

This is simple.

There is information in the documentation:

But how exactly does the distribution of transmitted data look like? If there are for example four hosts in "hosts" array, what is the method of selecting the host to which the event is being sent?

It does not distribute the data equally... What is the method?

Probably the same algorithm is used in other plugins?

My reading of the code is that it picks an address at random each time it connects.

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