Logstash cannot send output to elasticsearch when elasticsearch not restarted first

Hi Everyone,

I have a problem here when I run EL (elasticsearch and logstash) as a service in linux

the problem is, logstash cannot output to the elasticsearch. But if i restart the elasticsearch service, suddenly all the output from logstash instantly in to the elasticsearch index

Is you guys have a same problem or just me that had a miss configuration for my EL instances?

Thanks.