What Happened?
This article describes how to generate HAR files on the most commonly used web browsers (Chrome, Firefox, Safari).
- HAR files are used by the SOC because they provide detailed information about the web browser request
- Generating and providing a HAR file to the SOC while the issue is ongoing is essential for faster resolution
Environment
- DDoS Proxy
- WAF
Resolution/Answer
To generate a HAR file using Chrome
- From the Chrome menu bar select View > Developer > Developer Tools
- Select the network tab from the Developer Tools panel
- Click the Clear button ( )to remove any existing logs on the Network tab
- Select the Preserve log checkbox
- Select the Disable cache checkbox to prevent content from being loaded from the local cache
- Click the round record button ( ) in the upper left corner of the panel to make sure it's red (recording). If the button is grey, click it once to start recording
- Go to the page where the issue is occurring
- Reproduce the issue that you were experiencing so the requests are recorded on the file
- Once the issue has been reproduced, right-click on any of the requests on the panel, select Save as HAR with Content
- Save the file to your computer
- Upload the HAR file to the Secure Repository in the Portal
To generate a HAR file using Firefox
- Select the Firefox menu ( ) at the top-right of the window
- Select Web Developer > Network
- Select the network tab from the Developer Network Tools panel
- Click the clear icon ( ) to remove any existing logs on the Network tab
- The recording starts when actions are performed in the browser
- Go to the page where the issue is occurring
- Reproduce the issue that you were experiencing so the requests are recorded on the file
- Once the issue has been reproduced, right-click on any of the requests on the panel, select Save all as HAR
- Save the file to your computer
- Upload the HAR file to the Secure Repository in the Portal
To generate a HAR file using Safari
- Make sure the Develop menu is visible in Safari. If it's not available, follow the instructions on Use the developer tools in the Develop menu in Safari on Mac
- Click on the Develop menu
- Select Show Web Inspector
- Select the Network tab
- Click the Clear network items icon ( )
- Select the Preserve log checkbox
- Go to the page where the issue is occurring
- Reproduce the issue that you were experiencing so the requests are recorded on the file
- Click the Export ( ) button on the far right of the panel
- Save the file to your computer
- Upload the HAR file to the Secure Repository in the Portal
To generate a HAR file using Microsoft Edge
- Select the Edge menu () at the top-right of the window
- Select More Tools > Developer Tools
- Select the Network tab from the Developer Network Tools panel ()
- (optional) Click the Clear Session icon () to remove any existing logs on the Network tab unless it's greyed-out ()
- Make sure the recording started ()
- Go to the page where the issue is occurring
- Reproduce the issue that you were experiencing so the requests are recorded on the file
- Once the issue has been reproduced click the Export as HAR button ()
- Save the file to your computer
- Upload the HAR file to the Secure Repository in the Portal
To generate a HAR file using Microsoft Internet Explorer
- Select the Gear menu () at the top-right of the window
- Select F12 Developer Tools
- Select the Network tab from the Developer Network Tools panel ()
- (optional) Click the Clear Session icon () to remove any existing logs on the Network tab unless it's greyed-out ()
- Make sure the recording started ()
- Go to the page where the issue is occurring
- Reproduce the issue that you were experiencing so the requests are recorded on the file
- Once the issue has been reproduced click the Export as HAR button ()
- Save the file to your computer
- Upload the HAR file to the Secure Repository in the Portal
Additional Information