# Verify filebeat is reading logs from a docker container

**URL:** https://discuss.elastic.co/t/verify-filebeat-is-reading-logs-from-a-docker-container/347365
**Category:** Beats
**Tags:** docker, filebeat
**Created:** [November 16, 2023, 8:24pm UTC](https://discuss.elastic.co/t/verify-filebeat-is-reading-logs-from-a-docker-container/347365 "2023-11-16T20:24:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jim\_Maroulis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jim_maroulis/32/127681_2.png) [@Jim\_Maroulis](https://discuss.elastic.co/u/Jim_Maroulis)
#### Post date: [November 16, 2023, 8:24pm UTC](https://discuss.elastic.co/t/verify-filebeat-is-reading-logs-from-a-docker-container/347365/1 "2023-11-16T20:24:08Z")

</div>

I am attempting to setup reading logs from a docker container running a web server to filebeat to logstash and I cannot seem to get it right.

My question is how do I verify if filebeat is even getting anything from the web server container? can I simply dump anything it gets to a log or stdout, I cannot figure out how, everything I try I only see a periodic monitor.

For extra credit would also need to run everything in containers but I can skip that for filebeat at the moment.

Obviously I have almost zero experience with these things since I am almost positive this is an easy thing to do that has been done many times before.  
Thanks

---

<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: [December 14, 2023, 10:24pm UTC](https://discuss.elastic.co/t/verify-filebeat-is-reading-logs-from-a-docker-container/347365/2 "2023-12-14T22:24:15Z")

</div>

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