Filebeat module exclude_files


(Cliff Odijk) #1

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.

- module: apache2
access:
enabled: true
var.paths: [/var/log/httpd/domains/*.log]


(ruflin) #2

You can access all prospector settings through the prospector config option. See here under advanced settings: https://www.elastic.co/guide/en/beats/filebeat/master/_tutorial.html#_advanced_settings


(Cliff Odijk) #3

@ruflin Tnx! I was looking for that!


(system) #4

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