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:
also you can also check filebeat.reference.yml if in doubt.
generally what you wrote is correct except the indentation of the processor. make sure it starts at the beginning of the line without any whitespaces before it.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.