# When to use filebeat as a container?

**URL:** <https://discuss.elastic.co/t/when-to-use-filebeat-as-a-container/203023>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 10, 2019, 12:50pm UTC](https://discuss.elastic.co/t/when-to-use-filebeat-as-a-container/203023 "2019-10-10T12:50:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mai\_Waly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mai_waly/32/53763_2.png) [@Mai\_Waly](https://discuss.elastic.co/u/Mai_Waly)\
**Post date:** [October 10, 2019, 12:50pm UTC](https://discuss.elastic.co/t/when-to-use-filebeat-as-a-container/203023/1 "2019-10-10T12:50:44Z")

</div>

Hi All,

Please advise we have been asked to use filebeats as a container to monitor application that write the logs to the host itself is that logic, as I understand filebeat as a container is used to monitor other running containers.

another question can we on the same host use filebeat as application to monitor the host logs and the running containers too?

Thanks & BRs,  
Mai

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [October 18, 2019, 1:14pm UTC](https://discuss.elastic.co/t/when-to-use-filebeat-as-a-container/203023/2 "2019-10-18T13:14:41Z")

</div>

Hi @Mai_Waly.

This is perfectly possible. The only thing you will need to do is mounting the log files from the host that you want to ship, then point Filebeat to them.

Some more info about running Filebeat on Docker: [https://www.elastic.co/guide/en/beats/filebeat/current/running-on-docker.html](https://www.elastic.co/guide/en/beats/filebeat/current/running-on-docker.html)

Best regards

---

<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:** [November 15, 2019, 1:14pm UTC](https://discuss.elastic.co/t/when-to-use-filebeat-as-a-container/203023/3 "2019-11-15T13:14:48Z")

</div>

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