You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Azure Web Application Firewall monitoring and logging
14
14
15
-
Azure Web Application Firewall in Azure Front Door provides extensive logging and telemetry to help you understand how your web application firewall (WAF) is performing and the actions it takes.
15
+
Azure Web Application Firewall on Azure Front Door provides extensive logging and telemetry to help you understand how your web application firewall (WAF) is performing and the actions it takes.
16
16
17
17
The Azure Front Door WAF log is integrated with [Azure Monitor](../../azure-monitor/overview.md). Azure Monitor enables you to track diagnostic information, including WAF alerts and logs. You can configure WAF monitoring within the Azure Front Door resource in the Azure portal under the **Diagnostics** tab, through infrastructure as code approaches, or by using Azure Monitor directly.
18
18
@@ -40,111 +40,15 @@ Logs aren't enabled by default. You must explicitly enable logs. You can configu
40
40
41
41
If logging is enabled and a WAF rule is triggered, any matching patterns are logged in plain text to help you analyze and debug the WAF policy behavior. You can use exclusions to fine-tune rules and exclude any data that you want to be excluded from the logs. For more information, see [Web application firewall exclusion lists in Azure Front Door](../afds/waf-front-door-exclusion.md).
42
42
43
-
Azure Front Door provides two types of logs: access logs and WAF logs.
43
+
You can enable three types of Azure Front Door logs:
44
44
45
-
### Access logs
46
45
47
-
::: zone pivot="front-door-standard-premium"
48
-
49
-
The log `FrontDoorAccessLog` includes all requests that go through Azure Front Door. For more information on the Azure Front Door access log, including the log schema, see [Monitor metrics and logs in Azure Front Door](../../frontdoor/front-door-diagnostics.md?pivot=front-door-standard-premium#access-log).
50
-
51
-
::: zone-end
52
-
53
-
::: zone pivot="front-door-classic"
54
-
55
-
The log `FrontdoorAccessLog` includes all requests that go through Azure Front Door. For more information on the Azure Front Door access log, including the log schema, see [Monitor metrics and logs in Azure Front Door (classic)](../../frontdoor/front-door-diagnostics.md?pivot=front-door-classic#diagnostic-logging).
56
-
57
-
::: zone-end
58
-
59
-
The following example query returns the access log entries:
60
-
61
-
::: zone pivot="front-door-standard-premium"
62
-
63
-
```kusto
64
-
AzureDiagnostics
65
-
| where ResourceProvider == "MICROSOFT.CDN" and Category == "FrontDoorAccessLog"
66
-
```
67
-
68
-
::: zone-end
69
-
70
-
::: zone pivot="front-door-classic"
71
-
72
-
```kusto
73
-
AzureDiagnostics
74
-
| where ResourceType == "FRONTDOORS" and Category == "FrontdoorAccessLog"
75
-
```
46
+
- WAF logs
47
+
- Access logs
48
+
- Health probe logs
49
+
50
+
Activity logs are enabled by default and provide visibility into the operations performed on your Azure resources, such as configuration changes to your Azure Front Door profile.
@@ -264,6 +168,8 @@ The following snippet shows an example log entry, including the reason that the
264
168
265
169
::: zone-end
266
170
171
+
For more information about the other Azure Front Door logs, see [Monitor metrics and logs in Azure Front Door](../../frontdoor/front-door-diagnostics.md#logs).
172
+
267
173
## Next steps
268
174
269
175
Learn more about [Azure Front Door](../../frontdoor/front-door-overview.md).
0 commit comments