1. Install Watchlog Windows Agent
2. Configure Integration
Open integration.json
in your agent directory and add the IIS block:
{
"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
}
}
Then restart the Watchlog Agent service:
Restart-Service -Name "WatchlogAgent"
Explore IIS Monitoring Capabilities
Request Origins
Analyze request origin IPs to understand your traffic sources.
API Endpoints
Monitor endpoint call counts and performance in real time.
Error Rate & Avg RPM
Track HTTP error percentages and average requests per minute.
URLs & Status Codes
View URL patterns, status codes, and request counts.
Access Logs
Inspect raw log entries per URL for troubleshooting.
All metrics available in real time or custom time ranges via the Watchlog Windows dashboard.