IIS HTTP errors
Use this runbook for IISHigh5xxRate and IISHigh4xxRate, and as the first
response to sustained HTTP errors seen in the IIS Logs dashboard.
1. Separate 4xx from 5xx
- 5xx: investigate application, worker process, upstream dependency and IIS configuration failures first.
- 4xx: determine whether the increase is expected client traffic, authentication/authorization failure, routing, missing resources or scanning traffic.
2. Inspect Loki
{source="iis",iis_site="<SITE>"} | status=~"5.."
For 4xx:
{source="iis",iis_site="<SITE>"} | status=~"4.."
Then group investigation by URI, method, status and client IP in the IIS Logs dashboard.
3. Correlate with IIS metrics
Check:
- application-pool state;
- worker-process count and failures;
- request queue;
- rejected requests;
- request rate.
4. Remediation
Do not suppress the alert by increasing thresholds before understanding the cause.
For application failures, follow the application-pool and worker-process runbooks. For a routing or deployment issue, escalate to the application owner with representative URLs, timestamps and status codes.
5. Verify
Confirm the error rate returns to the normal baseline and that successful requests continue to arrive.