Filebeat iis enabled. error is disabled but still looking for the http error file

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.

- module: iis
  # Access logs
    enabled: true
    var.paths: ["C:/Users/sairam/Downloads/ELK2/filebeat-6.3.2/iis1/*.LOG"]

  # Error logs
    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.


Enclose your configuration in triple-backticks

like this

so it's indentation can be checked.

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