Is this Logstash 1.5? Then protocol defaults to "node". You'll probably want to use "http" instead. Assuming that from now on.
Set host to an array of hostnames. Logstash will pick a random host and move on to the next one if it's unresponsive. If you have dedicated master nodes you probably shouldn't include them in the list but otherwise list all cluster nodes. See the documentation for details.
Error: The setting host in plugin elasticsearch is obsolete and is no longer available. Please use the 'hosts' setting instead. You can specify multiple entries separated by comma in 'host:port' format. If you have any questions about this, you are invited to visit https://discuss.elastic.co/c/logstash and ask.
Unknown setting 'protocol' for elasticsearch {:level=>:error}
Unknown setting 'cluster' for elasticsearch {:level=>:error}
Error: Something is wrong with your configuration.
As the error message indicates the protocol and cluster options no longer exist. The version of the plugin that ships with Logstash 2.0 is HTTP-only so those options aren't needed.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.