Enable docker logs with filebeat

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:


  • type: container

    enabled: true

    • /var/lib/docker/containers//.log

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?

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