When using filebeat I can use exclude_files on a prospector but i'm not sure if this can also be done for a a module like the apache2 logs. I added my config but i want to exclude 1 domain from the apache2 logs.
- https://www.elastic.co/guide/en/beats/filebeat/current/configuration-filebeat-options.html#exclude-files
- https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-apache2.html#_var_paths
- module: apache2
access:
enabled: true
var.paths: [/var/log/httpd/domains/*.log]