Custom field not appearing in o/p for IIS.yml module

Hi! I tried with similar config like below and also didn't see the custom field log_type.

- module: iis
  # Access logs
  access:
    enabled: true
    var.paths: ["D:/Logs/W3SVC1/*.log"]
    exclude_line: ['^.*ELB-HealthChecker.*$']
    fields:
      log_type: iisnonpro

  # Error logs
  error:
    enabled: false

I also gave Custom Fields with Module Config a try, no luck. I will look into this a bit more and get back to you. Thank you for posting here!

1 Like