Confirmation about the load balance mechanism when using elasticsearch output

(Yu Watanabe) #1

According to document elasticsearch output load balances the requests to elasticsearch when multiple hosts are set in hosts.

Sets the host(s) of the remote instance. If given an array it will load balance requests across the hosts specified in the hosts parameter. Remember the http protocol uses the http address (eg. 9200, not 9300). "" ["",""] [""] [""] [""] (If using a proxy on a subpath) It is important to exclude dedicated master nodes from the hosts list to prevent LS from sending bulk requests to the master nodes. So this parameter should only reference either data or client nodes in Elasticsearch.

Does load balance mean round robin or simply goes to the next node when the node communicating dies?

(Mark Walkom) #2

It round robins.

(Yu Watanabe) #3


Ok . Got it.

(system) #4

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