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
Copy file name to clipboardExpand all lines: articles/web-application-firewall/ag/web-application-firewall-logs.md
+67Lines changed: 67 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,7 +214,11 @@ The performance log is generated only if you have enabled it on each Application
214
214
215
215
The firewall log is generated only if you have enabled it for each application gateway, as detailed in the preceding steps. This log also requires that the web application firewall is configured on an application gateway. The data is stored in the destination that you specified when you enabled the logging. The following data is logged:
216
216
217
+
# [Application Gateway](#tab/AppGW)
217
218
219
+
## <aname="AppGW"></a> Application Gateway
220
+
221
+
### <aname="AppGW-Format"></a> Log Format
218
222
|Value |Description |
219
223
|---------|---------|
220
224
|instanceId | Application Gateway instance for which firewall data is being generated. For a multiple-instance application gateway, there is one row per instance. |
@@ -237,6 +241,7 @@ The firewall log is generated only if you have enabled it for each application g
237
241
|policyScope | The location of the policy - values can be "Global", "Listener", or "Location". |
238
242
|policyScopeName | The name of the object where the policy is applied. |
| TimeGenerated | Time (UTC) when the log was created. |
285
+
| OperationName | Name of the operation. |
286
+
| InstanceId | Application Gateway instance for which firewall data is being generated. For a multiple-instance application gateway, there is one row per instance. |
287
+
| ClientIp | Originating IP for the request. |
288
+
| ClientPort | Originating port for the request. |
289
+
| Action | Action taken on the request. Available values are Blocked and Allowed (for custom rules), Matched (when a rule matches a part of the request), and Detected and Blocked (these are both for mandatory rules). |
290
+
| Message | User-friendly message for the triggering event. More details are provided in the details section. |
291
+
| DetailedMessage | Description of the rule for the triggered event. |
292
+
| DetailedData | Specific data found in request that matched the rule for the triggered event. |
293
+
| FileDetails | Configuration file that contained the rule for the triggered event. |
294
+
| LineDetails | Line number in the configuration file that triggered the event. |
295
+
| Hostname | Hostname or IP address of the Application Gateway. |
296
+
| PolicyId | Resource ID of the web application firewall policy. |
297
+
| PolicyScope | A named scope consisting of Kubernetes resource references the scope is applied to. |
298
+
| PolicyScopeName | The name to the type of scope assignment the web application firewall policy is assigned to. |
299
+
| RequestUri | URL of the received request. |
300
+
| RuleSetType | Rule set type. The available value is Microsoft_DefaultRuleSet or Microsoft_BotManagerRuleSet. |
301
+
| RuleSetVersion | Rule set version used for Microsoft_DefaultRuleSet or Microsoft_BotManagerRuleSet. |
302
+
| RuleId | Rule ID of the triggering event. |
303
+
| TrackingId | Generated guid by Application Gateway
0 commit comments