How to Generate a HAR file for troubleshooting - Chrome
524
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:57 PM
Objective
Generating a HAR file for troubleshooting
Environment
10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;13.0;13.2;14.0;14.2;14.4;14.6;25.7;25.9 Privileged Access Manager (PAM, self-hosted);Privilege Cloud;Remote Access (formerly Alero);Identity
Procedure
To generate the HAR file for Chrome
- Open Google Chrome and go to the page where the issue is occurring.
- Look for the Vertical ellipsis button (
) and select More Tools > Developer Tools.
- From the panel opened, select the Network tab.
- Look for a round Record button (
) in the upper left corner of the tab, and make sure it is red. If it is grey, click it once to start recording.
- Check the box Preserve log.
- Click the Clear button (
) to clear out any existing logs from the Network tab.
- If a new tab would be opened during your repro, click the Gear button (at the top right corner)
and then check the box 'Auto-open DevTools for popups' under Global
- Reproduce the issue that you were experiencing before, while the network requests are being recorded.
- Once you have reproduced the issue, in Chrome, right-click on file and save it to your computer by selecting: Save all as HAR with content.
- Download the CACookieCleaner tool via 1 of the 2 links below (Marketplace or GitHub), and run it to remove cookie values from the HAR files.
- CyberArk Marketplace (includes an exe file): https://community.cyberark.com/marketplace/s/#a35Ht000001paRMIAY-a39Ht000003RU6QIAW
- GitHub (requires python): https://github.com/cyberark/cacookiecleaner
- Run the CACookieCleaner tool
- When prompted, specify the full path of the original HAR file
- The sanitized HAR file will be generated in the same directory with name output-YYYY-MM-DD.har. For example, for file generated on October 25, 2023, the file name will be output-2023-10-25.har
- Please refer to example below:
- Upload your modified HAR file to your ticket or attach it to your email so that our Support team can analyze it.