# Regarding Filebeat Modules and Docker Logs

**URL:** https://discuss.elastic.co/t/regarding-filebeat-modules-and-docker-logs/178276
**Category:** Beats
**Tags:** beats-module
**Created:** [April 24, 2019, 2:33pm UTC](https://discuss.elastic.co/t/regarding-filebeat-modules-and-docker-logs/178276 "2019-04-24T14:33:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)
#### Post date: [April 24, 2019, 2:33pm UTC](https://discuss.elastic.co/t/regarding-filebeat-modules-and-docker-logs/178276/1 "2019-04-24T14:33:37Z")

</div>

Hi,  
We will be running filebeat in kubernetes where apps will be logging to stdout and filebeat will be scanning for container logs output by docker.

Does this mean that filebeat modules cannot be used?

Regards,  
D

---

<div class="post-metadata">

### Author: ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)
#### Post date: [May 1, 2019, 9:24am UTC](https://discuss.elastic.co/t/regarding-filebeat-modules-and-docker-logs/178276/2 "2019-05-01T09:24:51Z")

</div>

Is this question unclear? I was hoping to have got a response by now.

---

<div class="post-metadata">

### Author: ![martinr\_ubi](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@martinr\_ubi](https://discuss.elastic.co/u/martinr_ubi)
#### Post date: [May 2, 2019, 8:55am UTC](https://discuss.elastic.co/t/regarding-filebeat-modules-and-docker-logs/178276/3 "2019-05-02T08:55:18Z")

</div>

Hi,

They can be used, I would refer you to the doc, make sure to read the entire autodiscover section with both of its sub-section.  
[ref.](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-autodiscover.html)

After that I don't think there is any secret sauce, this is highly dependent on your specifics. Spin up a test env and iterate on the configs to see if the modules can be used correctly in your context, etc.

Also, some relevant bookmark and elastic ON content.

> **[Docker and Kubernetes Hints-Based Autodiscover with Beats](https://www.elastic.co/blog/docker-and-kubernetes-hints-based-autodiscover-with-beats)**
>
> Beats 6.3 brings new features to do Kubernetes and Docker autodiscovery. You can now define logging & monitoring settings using labels or annotations.

  

> **[Monitor Kubernetes with Beats Autodiscover Feature and Elasticsearch](https://www.elastic.co/blog/monitor-kubernetes-with-beats-autodiscover-feature-and-elasticsearch)**
>
> Go deep with capturing metrics and logs when using Elastic Beats, particularly Metricbeat and Filebeat, for monitoring Kubernetes and Docker.

  

> **[Monitoring an application running in Docker containers and Kubernetes with...](https://www.elastic.co/blog/monitoring-an-application-running-in-docker-containers-and-kubernetes-with-the-elastic-stack)**
>
> An introduction to the benefits of Elastic modules and autodiscover feature when monitoring the logs and metrics from a Docker container environment. Collect, search, and visualize the logs and metrics from your application, Docker, and Kubernetes...

I hope this helps,

Martin

---

<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: [May 30, 2019, 10:55am UTC](https://discuss.elastic.co/t/regarding-filebeat-modules-and-docker-logs/178276/4 "2019-05-30T10:55:21Z")

</div>

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