# Logstash is not reading data in Docker

**URL:** https://discuss.elastic.co/t/logstash-is-not-reading-data-in-docker/329666
**Category:** Logstash
**Tags:** docker
**Created:** [April 10, 2023, 3:01pm UTC](https://discuss.elastic.co/t/logstash-is-not-reading-data-in-docker/329666 "2023-04-10T15:01:12Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![vvsenthil](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@vvsenthil](https://discuss.elastic.co/u/vvsenthil)
#### Post date: [April 13, 2023, 8:08am UTC](https://discuss.elastic.co/t/logstash-is-not-reading-data-in-docker/329666/8 "2023-04-13T08:08:14Z")

</div>

Hi Rios thanks for your reply. Yes you are correct. I followed below solution and able to push the data to Elasticsearch.

> [@Logstash docker image doesn't connect to elasticsearch image](https://discuss.elastic.co/t/logstash-docker-image-doesnt-connect-to-elasticsearch-image/113691/3):
>
> It works perfectly well now! Thank you very much for your help!

---

_[View the full topic](https://discuss.elastic.co/t/logstash-is-not-reading-data-in-docker/329666)._
