IIS module enabled and given a specific path for accesss file, but still it is going to default file and also error enabled to false but it is looking for HttpError files.
filebeat.modules:
- module: iis
# Access logs
access:
enabled: true
var.paths: ["C:/Users/sairam/Downloads/ELK2/filebeat-6.3.2/iis1/*.LOG"]
# Error logs
error:
enabled: false
2018-07-27T18:18:55.572-0400 ERROR log/input.go:460 Harvester could not be started on new file: c:\Windows\System32\LogFiles\HTTPERR\httperr1.log, Err: Error setting up harvester: Harvester setup failed. Unexpected file opening error: Failed opening c:\Windows\System32\LogFiles\HTTPERR\httperr1.log: Error creating file '%!s(*uint16=0xc0423910a0)': Access is denied.