{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/2617","labels_url":"https://api.github.com/repos/elastic/logstash/issues/2617/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/2617/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/2617/events","html_url":"https://github.com/elastic/logstash/issues/2617","id":57719311,"number":2617,"title":"Logstash (1.4.2) ES (1.4.2) Connection issues","user":{"login":"krinkere","id":1323717,"avatar_url":"https://avatars.githubusercontent.com/u/1323717?v=3","gravatar_id":"","url":"https://api.github.com/users/krinkere","html_url":"https://github.com/krinkere","followers_url":"https://api.github.com/users/krinkere/followers","following_url":"https://api.github.com/users/krinkere/following{/other_user}","gists_url":"https://api.github.com/users/krinkere/gists{/gist_id}","starred_url":"https://api.github.com/users/krinkere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krinkere/subscriptions","organizations_url":"https://api.github.com/users/krinkere/orgs","repos_url":"https://api.github.com/users/krinkere/repos","events_url":"https://api.github.com/users/krinkere/events{/privacy}","received_events_url":"https://api.github.com/users/krinkere/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-15T06:00:55Z","updated_at":"2015-04-15T00:07:12Z","closed_at":"2015-04-15T00:07:12Z","body":"Related to this one: https://github.com/elasticsearch/logstash/issues/1821\r\nbut i dont think it is documentation issue\r\n\r\nES 1.4.2\r\nLogstash 1.4.2\r\nAccording to http://logstash.net/docs/1.4.2/outputs/elasticsearch\r\nVERSION NOTE: Your Elasticsearch cluster must be running Elasticsearch 1.0.0 or later\r\n\r\nI should be fine... but I ran it on Centos 6.5 and same thing. When I try\r\n\r\n/opt/logstash/bin/logstash -e 'input {stdin{}} output{elasticsearch{host=>localhost}}'\r\n\r\nI get this:\r\n\r\nlog4j, [2015-02-15T05:41:51.291]  WARN: org.elasticsearch.discovery: [logstash-c6501.ambari.apache.org-22688-2010] waited for 30s and no initial state was set by the discovery\r\n\r\nBasically suggesting that I have connection issues.\r\n\r\nI tried to flip between multicast and unicast. Same thing\r\nSet up for multicast - default /etc/logstash/conf.d/logstash.conf used\r\n\r\nThen I set\r\ndiscovery.zen.ping.multicast.enabled: false\r\ndiscovery.zen.ping.unicast.hosts: [\"192.168.65.101\"]\r\n\r\nThis one works:\r\n/opt/logstash/bin/logstash -e 'input {stdin{}} output{elasticsearch{host=>\"192.168.65.101\" protocol=>\"http\" port=>\"9200\"}}'\r\n\r\nor if I use elasticsearch_http (which is the same thing)"}}