# Logstash does not send data to elastic search

**URL:** <https://discuss.elastic.co/t/logstash-does-not-send-data-to-elastic-search/60321>\
**Category:** Logstash\
**Created:** [September 12, 2016, 5:13pm UTC](https://discuss.elastic.co/t/logstash-does-not-send-data-to-elastic-search/60321 "2016-09-12T17:13:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![manishsh](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manishsh](https://discuss.elastic.co/u/manishsh)\
**Post date:** [September 12, 2016, 5:13pm UTC](https://discuss.elastic.co/t/logstash-does-not-send-data-to-elastic-search/60321/1 "2016-09-12T17:13:52Z")

</div>

I am trying to run elastic search to send data to Amazon ES. Have configured everything including Amazon Plugin but it is not sending anything to Amazon ES.

After Pipeline Main Started nothing happpen

---

<div class="post-metadata">

**Author:** ![Ashutosh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashutosh/32/11051_2.png) [@Ashutosh](https://discuss.elastic.co/u/Ashutosh)\
**Post date:** [September 13, 2016, 5:50am UTC](https://discuss.elastic.co/t/logstash-does-not-send-data-to-elastic-search/60321/2 "2016-09-13T05:50:53Z")

</div>

Hi Manish,

Seems there is a problem in receiving the logs at your Logstash node. If Nothing happens after Pipeline Main starts, might be a signal that you are not receiving logs. To test whether you are receiving logs or not try to add the stdout plugin in output section.

> output {  
> stdout { codec =\> rubydebug }  
> }

And then try re-running the Logstash using the -f options. If you see indexed logs in the Command Line, it means you are receiving logs at logstash node and it is successfully parsing them. If still it doesn't display anything, you have to check with logstash.

---

<div class="post-metadata">

**Author:** ![manishsh](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manishsh](https://discuss.elastic.co/u/manishsh)\
**Post date:** [September 13, 2016, 1:34pm UTC](https://discuss.elastic.co/t/logstash-does-not-send-data-to-elastic-search/60321/3 "2016-09-13T13:34:30Z")

</div>

Tried. Still no luck.

---

<div class="post-metadata">

**Author:** ![Ashutosh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashutosh/32/11051_2.png) [@Ashutosh](https://discuss.elastic.co/u/Ashutosh)\
**Post date:** [September 13, 2016, 2:12pm UTC](https://discuss.elastic.co/t/logstash-does-not-send-data-to-elastic-search/60321/4 "2016-09-13T14:12:58Z")

</div>

This actually means you are having issues with receiving logs at Logstash. You have to check whether you have correct configuration at client devices and test whether you are able to ping from there to the node of Logstash.  
I faced the same issue for long and has multiple reasons behind it.

try these of my tricks.

1. Once you start the logstash, do check whether it is LISTEN ing on the ports you specified in input section.
2. Check whether you are not running two instances of the same service Logstash by mistake (I actually did that sort of mistakes.)

Also try posting your configuration, so that more things can be suggested.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:38am UTC](https://discuss.elastic.co/t/logstash-does-not-send-data-to-elastic-search/60321/5 "2017-07-06T04:38:45Z")

</div>


