Skip to content

Commit b12b1a8

Browse files
committed
har on edge browser
1 parent fd8dc60 commit b12b1a8

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed

articles/web-application-firewall/ag/web-application-firewall-troubleshoot.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,35 @@ One benefit of disabling a rule is that if you know all traffic that contains a
162162

163163
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).
164164

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+
165194
## Finding request attribute names
166195

167196
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.
9.1 KB
Loading
14.2 KB
Loading
14.2 KB
Loading

0 commit comments

Comments
 (0)