Hello,
I have logstash flushing in an elasticsearch cluster named "mycluster", so 
I configured output "elasticsearch" as follows:

*elasticsearch.yml:*
cluster.name: mycluster
...

*logstash.conf*
output {
  elasticsearch {
    host => "10.10.10.10"
#    cluster => "mycluster"
    protocol => "http"
    }
}


Here I found that specifying the name of the cluster in logstash.conf is 
optional
http://logstash.net/docs/1.4.2/outputs/elasticsearch#cluster


I made a test commenting cluster name in logstash.conf and everything seems 
working properly


I would like to know:
1) what would be logstash behaviour in case more than one cluster exists on 
same server?
2) what is the difference between specifying or not cluster name in 
logstash.conf? 
3) in general do we have some benefits specifying cluster name even if its 
not required?

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b3b5cf28-cbdc-4f7e-987d-977d9ad75f99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to