# File beats in docker. How to access host logs?

**URL:** <https://discuss.elastic.co/t/file-beats-in-docker-how-to-access-host-logs/127313>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 9, 2018, 11:31am UTC](https://discuss.elastic.co/t/file-beats-in-docker-how-to-access-host-logs/127313 "2018-04-09T11:31:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [April 9, 2018, 5:30pm UTC](https://discuss.elastic.co/t/file-beats-in-docker-how-to-access-host-logs/127313/3 "2018-04-09T17:30:29Z")

</div>

thanks. I keep that in mind if I need need to ship from other containers.

When I want to ship logs of classic applications from the host, which are not running in docker, then I just mount the host logfile from eg. /var/log/myapplication into the filebeat container and then I use normal file prospector in filebeat, which runs as docker, correct?

---

_[View the full topic](https://discuss.elastic.co/t/file-beats-in-docker-how-to-access-host-logs/127313)._
