# ElasticSearch location in a docker

**URL:** <https://discuss.elastic.co/t/elasticsearch-location-in-a-docker/311572>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [August 5, 2022, 9:41pm UTC](https://discuss.elastic.co/t/elasticsearch-location-in-a-docker/311572 "2022-08-05T21:41:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boodle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boodle/32/86046_2.png) [@Boodle](https://discuss.elastic.co/u/Boodle)\
**Post date:** [August 5, 2022, 9:41pm UTC](https://discuss.elastic.co/t/elasticsearch-location-in-a-docker/311572/1 "2022-08-05T21:41:23Z")

</div>

It's a basic question but is /var/lib/docker/containers/ \<xxxxxx\<-json.log files\> the only location for elasticsearch logs installed on a docker?

Also, How can i see the logs in kibana. Filebeat is not yet setup

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 7, 2022, 11:19pm UTC](https://discuss.elastic.co/t/elasticsearch-location-in-a-docker/311572/2 "2022-08-07T23:19:59Z")

</div>

That typically is where docker logs are stored, yes, and it'll likely be the only place unless you have configured the logging for the container to something that isn't default.

You need to setup Filebeat to ingest the logs.

---

<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:** [September 4, 2022, 11:20pm UTC](https://discuss.elastic.co/t/elasticsearch-location-in-a-docker/311572/3 "2022-09-04T23:20:51Z")

</div>

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