Elasticsearch not getting data from logstash

If you are connecting to Elastic Cloud you should use port 9243.