Is, hosts
is an array for a list of hosts.
Check the documentation.
hosts
(list) The list of Elasticsearch nodes to connect to. The events are distributed to these nodes in round robin order. If one node becomes unreachable, the event is automatically sent to another node.