Hi. This is a simple install of filebeat 6.6.1 on windows.
I've enabled the IIS module and set the location so it doesn't pick up the FTP logs and have grok failures. I also need it to ignore certain lines which contain the user-agent of the load-balancer constantly checking IIS. My iis.yml file is:
- module: iis
# Access logs
access:
enabled: true
# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
var.paths: ["C:/inetpub/logs/LogFiles/W3*/*.log"]
exclude_lines: ['ALBX']
# Error logs
error:
enabled: true
# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
#var.paths:
A line I need to ignore is:
2019-04-01 00:00:03 1.2.3.4 GET / - 80 - 1.2.3.4 ALBX/4.0 - 200 0 0 0
Is this supported?
Thanks