Logstash to ES cluster

(sri) #1

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


(Christian Dahlqvist) #2

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

(Mark Walkom) #3

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

(system) #4

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