The agent automatically collects logs from Apache web servers by tailing the default log files.

Log files location

The agent is configured to monitor files that match the pattern /var/log/apache2/*access.log.

This typically includes the access.log file, which is located in the /var/log/apache2/ directory on Debian-based systems.