Error on logstash, can't connect to elasticsearch

This means your ES cluster is not in a healthy state.

What does curl ES_IP:9200/_cat/health show?