Elasticsearch + filebeat + apache on docker environment

Hello! Newbie here. Imagine the following scenario: a Docker environment where there are 3 containers. One is running Elasticsearch, another has Filebeat, and the third one contains Apache. All of them are on the same network. How can I configure my Filebeat, Apache, or even Elasticsearch configuration files to collect access and error logs from Apache? When I have Filebeat in a separate container, how does it work to specify the paths?


  1. docker.elastic.co/elasticsearch/elasticsearch:8.7.1;
  2. docker.elastic.co/beats/filebeat:8.7.1;
  3. httpd:2.4;

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