How to Generate a HAR File in Chrome
21781
Created On 05/17/20 06:54 AM - Last Modified 10/26/26 05:17 AM
Objective
This articles describes how to generate a HAR file in Chrome browser for troubleshooting purposes.
Environment
Cortex XDR
Cortex XSIAM
Procedure
- Open a Google Chrome browser and navigate to the page on which the issue is occurring.
- Access the Developer Tools section.
OS Action MacOS Click View > Developer > Developer Tools. Windows Click the Menu icon (three dots) and select More tools > Developer tools. - In the Developer Tools panel, select the Network tab.
- Verify that the Record button
is red. If it is not red click it one time to start recording. - Select the Keep log checkbox (formerly Preserve log).
- Click the Clear button
to clear existing logs from the Network tab. - While recording the network requests, reproduce the issue you experienced.
- After you reproduce the issue, right-click anywhere in the grid of network requests and select Save as HAR with Content.
- Save the file.
Additional Information
- In 2026, the Preserve log option in Google Chrome was renamed to Keep log. Related document: [uxw] Simplify UIStrings and check sentence case in front_end/panels/console