# Enable docker logs with filebeat

**URL:** <https://discuss.elastic.co/t/enable-docker-logs-with-filebeat/237178>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [June 15, 2020, 6:17pm UTC](https://discuss.elastic.co/t/enable-docker-logs-with-filebeat/237178 "2020-06-15T18:17:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![devwinner](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@devwinner](https://discuss.elastic.co/u/devwinner)\
**Post date:** [June 15, 2020, 6:17pm UTC](https://discuss.elastic.co/t/enable-docker-logs-with-filebeat/237178/1 "2020-06-15T18:17:16Z")

</div>

Informations about Elk Stack :  
Version of Kibana : 7.7.1  
Version of Elasticsearch : 7.7.1  
Version de Metricbeat : 7.7.1  
Version de Filebeat : 7.7.1

I have enabled docker module in metricbeat, but i can't see docker logs on kibana GUI. what i want to do is to see docker logs with Filebeat. I have added this configuration to my filebeat.yml file:

filebeat.inputs:

- type: container

json.message\_key: log  
json.keys\_under\_root: true

After restarting filebeat, I come to Kibana UI in discovery, but there is no docker logs. How can i enable docker logs in filebeat?

---

<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:** [July 13, 2020, 8:17pm UTC](https://discuss.elastic.co/t/enable-docker-logs-with-filebeat/237178/2 "2020-07-13T20:17:33Z")

</div>

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