# Logstash error - Unable to retrieve Elasticsearch version

**URL:** <https://discuss.elastic.co/t/logstash-error-unable-to-retrieve-elasticsearch-version/375620>\
**Category:** Logstash\
**Created:** [March 9, 2025, 6:56pm UTC](https://discuss.elastic.co/t/logstash-error-unable-to-retrieve-elasticsearch-version/375620 "2025-03-09T18:56:01Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![RainTown](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raintown/32/140206_2.png) [@RainTown](https://discuss.elastic.co/u/RainTown)\
**Post date:** [March 17, 2025, 8:29pm UTC](https://discuss.elastic.co/t/logstash-error-unable-to-retrieve-elasticsearch-version/375620/21 "2025-03-17T20:29:29Z")

</div>

Cool. You accepted your own solution - like you figured it out all on your own. 🙂

The `stdout { codec => rubydebug }` line doesn't change anything, it just shows you whats going on a bit more clearly. My guess is that It was probably working already as per reply from @Badger.

Have a great day.

---

<div class="post-metadata">

**Author:** ![kawalkarhemant](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@kawalkarhemant](https://discuss.elastic.co/u/kawalkarhemant)\
**Post date:** [March 18, 2025, 6:07am UTC](https://discuss.elastic.co/t/logstash-error-unable-to-retrieve-elasticsearch-version/375620/22 "2025-03-18T06:07:18Z")

</div>

Thanks @Badger

---

<div class="post-metadata">

**Author:** ![kawalkarhemant](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@kawalkarhemant](https://discuss.elastic.co/u/kawalkarhemant)\
**Post date:** [March 18, 2025, 6:07am UTC](https://discuss.elastic.co/t/logstash-error-unable-to-retrieve-elasticsearch-version/375620/23 "2025-03-18T06:07:38Z")

</div>

Thanks @RainTown

[Previous page](https://discuss.elastic.co/t/logstash-error-unable-to-retrieve-elasticsearch-version/375620.md?page=1)
