# Verify whether logstash is receiving data or not

**URL:** <https://discuss.elastic.co/t/verify-whether-logstash-is-receiving-data-or-not/266515>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [March 8, 2021, 7:04am UTC](https://discuss.elastic.co/t/verify-whether-logstash-is-receiving-data-or-not/266515 "2021-03-08T07:04:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user2416](https://avatars.discourse-cdn.com/v4/letter/u/97f17d/32.png) [@user2416](https://discuss.elastic.co/u/user2416)\
**Post date:** [March 8, 2021, 7:04am UTC](https://discuss.elastic.co/t/verify-whether-logstash-is-receiving-data-or-not/266515/1 "2021-03-08T07:04:37Z")

</div>

Hi,

I am using beats input plugin and sending data to logstash.  
Logstash hangs frequently and putting back pressure on filebeat. As part of debugging I am using below curl command to test whether filebeat is able to connect to logstash(it is running as kubernetes service)

```auto
curl logstast-service:5044

```

when logstash is accepting data from beats commands shows `curl: (56) Recv failure: Connection reset by peer` which is expected as its not running on 5044 but just accepting data on that port, but sometimes the above command just hangs and does not show any output (when logstash hangs)

what does it mean when the above command just hangs and doesnt not show any output?  
does it mean logstash hangs and cannot accept any data?

---

<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:** [April 5, 2021, 7:05am UTC](https://discuss.elastic.co/t/verify-whether-logstash-is-receiving-data-or-not/266515/2 "2021-04-05T07:05:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
