Docker apps logging with Filebeat and Logstash

后端 未结 6 477
执念已碎
执念已碎 2021-01-30 07:34

I have a set of dockerized applications scattered across multiple servers and trying to setup production-level centralized logging with ELK. I\'m ok with the ELK part itself, bu

6条回答
  •  醉梦人生
    2021-01-30 07:53

    I verified what erewok wrote above in a comment:

    According to the docs, you should be able to use a pattern like this in your prospectors.paths: /var/lib/docker/containers/*/*.log – erewok Apr 18 at 21:03

    The docker container guids, represented as the first '*', are correctly resolved when filebeat starts up. I do not know what happens as containers are added.

提交回复
热议问题