# Logs Received by Logstash Have Zero Length

**URL:** <https://discuss.elastic.co/t/logs-received-by-logstash-have-zero-length/364361>\
**Category:** Logstash\
**Created:** [August 5, 2024, 9:05am UTC](https://discuss.elastic.co/t/logs-received-by-logstash-have-zero-length/364361 "2024-08-05T09:05:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manal\_A](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manal_a/32/123992_2.png) [@Manal\_A](https://discuss.elastic.co/u/Manal_A)\
**Post date:** [August 5, 2024, 9:05am UTC](https://discuss.elastic.co/t/logs-received-by-logstash-have-zero-length/364361/1 "2024-08-05T09:05:19Z")

</div>

Hello,  
I have an issue with the logs received by my Logstash. Their length is 0. I don't know why. Could it be related to Logstash?  
Thank you

---

<div class="post-metadata">

**Author:** ![Alex\_Salgado-Elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_salgado-elastic/32/103081_2.png) [@Alex\_Salgado-Elastic](https://discuss.elastic.co/u/Alex_Salgado-Elastic)\
**Post date:** [August 19, 2024, 7:11pm UTC](https://discuss.elastic.co/t/logs-received-by-logstash-have-zero-length/364361/2 "2024-08-19T19:11:40Z")

</div>

Hi @Manal_A ,

**You can manually check the logs** : Use a `stdout` output in your Logstash configuration to directly inspect the logs before they are sent to the final output.

**Example:**

```auto
output {
  stdout {
    codec => rubydebug
  }
}

```
