When to use filebeat as a container?

Hi All,

Please advise we have been asked to use filebeats as a container to monitor application that write the logs to the host itself is that logic, as I understand filebeat as a container is used to monitor other running containers.

another question can we on the same host use filebeat as application to monitor the host logs and the running containers too?

Thanks & BRs,
Mai

Hi @Mai_Waly.

This is perfectly possible. The only thing you will need to do is mounting the log files from the host that you want to ship, then point Filebeat to them.

Some more info about running Filebeat on Docker: https://www.elastic.co/guide/en/beats/filebeat/current/running-on-docker.html

Best regards