How to generate a HAR file with sensitive data [Windows][Linux]
Introduction:
Following browser updates in late 2024, Chrome and Edge now sanitize HTTP Archive (HAR) files by default, removing cookies and authorization headers. This guide explains how to re-enable sensitive data capture to provide comprehensive logs for advanced troubleshooting. Applicable to: Chrome and Edge browsers (Version 129+).
Step-by-Step Guide:
1. Enable Sensitive Data Export in Settings
Before recording your logs, you must grant the browser permission to export sensitive information.
For Microsoft Edge:
Open Developer Tools (Press F12 or Ctrl+Shift+I).
Click the Network tab.
Click the three dots (...) in the top right corner of the DevTools pane and select Settings.
For Google Chrome:
Open Developer Tools and navigate to the Network tab.
Click the Gear (Settings) icon located in the top-right toolbar of the Network tab.

2. Configure Preferences
Under the Preferences menu, scroll down to the Network section.
Check the box labeled Allow to generate HAR (with sensitive data).

3. Record and Export the Log
Return to the Network tab.
Ensure Preserve log and Disable cache are both checked.
Click the Clear icon (null sign) to start with a fresh log.
Reproduce the issue in the browser window.
To export, long-press (click and hold) the Download (downward arrow) icon.
Select Export HAR (with sensitive data)... from the menu.

Conclusion:
Generating a HAR file with sensitive data ensures that support teams can see the exact cookies and headers causing authentication or session-related issues. Always remember to disable this setting or handle the resulting file securely, as it contains private session information.
References/Related Content
Disclaimer:This post outlines a potential custom workaround for a specific use case or provides instructions regarding a specific task. The solution may not work in all scenarios or Sisense versions, so we strongly recommend testing it in your environment before deployment. If you need further assistance with this, please let us know.