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-troubleshoot.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,6 +162,35 @@ One benefit of disabling a rule is that if you know all traffic that contains a
162
162
163
163
If you want to use Azure PowerShell, see [Customize web application firewall rules through PowerShell](application-gateway-customize-waf-rules-powershell.md). If you want to use Azure CLI, see [Customize web application firewall rules through the Azure CLI](application-gateway-customize-waf-rules-cli.md).
164
164
165
+
## HAR files
166
+
167
+
You can use your browser or an external tool like Fiddler to record HTTP Archive (HAR) files. HAR files contain information about the requests and responses that your browser makes when loading a web page. This information can be useful for troubleshooting WAF issues.
168
+
169
+
> [!TIP]
170
+
> It's a good practice to have the HAR file ready when you contact support. The support team can use the HAR file to help diagnose the issue.
171
+
172
+
To record and save a HAR file in Microsoft Edge, follow these steps
173
+
174
+
1. Press **F12** or **Ctrl + Shift + I** to launch Edge Developer tools. You can also launch the tools from the toolbar menu under **More tools > Developer tools**.
175
+
176
+
1. In the **Console** tab, select **Clear console** or press **Ctrl + L**.
177
+
178
+
:::image type="content" source="../media/web-application-firewall-troubleshoot/edge-dev-tools-console.png" alt-text="Screenshot of the Console tab of Microsoft Edge developer tools.":::
179
+
180
+
1. Select the **Network** tab.
181
+
182
+
1. Select **Clear network log**, and then select the **Record network log** if it's not recording.
183
+
184
+
:::image type="content" source="../media/web-application-firewall-troubleshoot/edge-dev-tools-network.png" alt-text="Screenshot of the Network tab of Microsoft Edge developer tools.":::
185
+
186
+
1. Load the web page that you want to inspect.
187
+
188
+
1. Stop recording by selecting the **Stop recording network log**.
189
+
190
+
1. Select **Export HAR (sanitized)...** and save the file. If you don't see the export icon, expand the width of your Edge developer tools window.
191
+
192
+
:::image type="content" source="../media/web-application-firewall-troubleshoot/edge-dev-tools-save-file.png" alt-text="Screenshot that shows how to save the HAR file in Microsoft Edge developer tools.":::
193
+
165
194
## Finding request attribute names
166
195
167
196
With the help of [Fiddler](https://www.telerik.com/fiddler), you inspect individual requests and determine what specific fields of a web page are called. This can help to exclude certain fields from inspection using Exclusion Lists.
0 commit comments