Logstash to ES cluster

how should be the conf for Sending data to ES cluster (of 3 nodes) from Logstash

should i give all the urls of the cluster in output as:

output {
elasticsearch { hosts => ["es-client-01:9200","es-master-01:9200","es-data-01"] }

only a single ES instance is enough?

pls explain the internals of Load balancing


If you only have a single data node I don't think there is any point in creating separate node types.

1 Like

List all 3.
See https://www.elastic.co/guide/en/logstash/5.5/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-hosts for more.

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