Windows
- Open the configuration file located at:
C:\Program Files\watchlog-agent\integration.json - Locate the IIS integration object:
{ "service": "iis", "monitor": false, "sites": [ { "name": "site1.example.com", "logPath": "C:\\inetpub\\logs\\LogFiles\\W3SVC1" } ], "fieldIndexes": { "sc-status": 11, "cs-method": 3, "cs-uri-stem": 4, "time-taken": 14 } } - Change 
"monitor"fromfalsetotrue:- "monitor": false + "monitor": true - Customize the 
sitesarray to include any additional IIS sites you want to monitor. Each entry requires:name: Identifier or hostname for the site.logPath: Full path to the IIS log directory for that site.
 - Adjust the 
fieldIndexesmapping if your IIS log format differs:- Keys (
sc-status,cs-method, etc.) map to log field names. - Values are the zero-based index of that field in each log line.
 
 - Keys (
 - Save the file and restart the Watchlog Agent service in PowerShell:
Restart-Service -Name "WatchlogAgent" 
