AWS Support asked me to create a HAR file from my web browser to help them troubleshoot my support case. How do I create that file?
Short description
An HTTP Archive (HAR) file is a JSON file that contains the latest network activity recorded by your browser. AWS Support can use a HAR file from your browser to investigate or replicate networking issues that you've documented in a technical support case.
Important: You must have a Developer, Business, or Enterprise Support plan to open a technical support case. If AWS Support asks you for a HAR file for troubleshooting, create a HAR file in your browser and then submit that file in the AWS Support Center. HAR files can capture sensitive information, such as user names, passwords, and keys. Be sure to remove any sensitive information from a HAR file before you send it to AWS Support.
Resolution
Create a HAR file in your browser
Note: These instructions were last tested on Google Chrome version 98.0.4758.102, Microsoft Edge (Chromium) version 98.0.1108.62, and Mozilla Firefox version 91.6. Because these browsers are third-party products, these instructions might not match the experience in the latest versions or in the version that you use. In another browser, such as legacy Microsoft Edge (EdgeHTML) or Apple Safari for macOS, the process to generate a HAR file might be similar, but the steps will be different.
Google Chrome
- In the browser, at the top right, choose Customize and control Google Chrome.
- Pause on More tools, and then choose Developer tools.
- With DevTools open in the browser, choose the Network panel.
- Select the Preserve log check box.
- Choose Clear to clear all current network requests.
- In the AWS Management Console, reproduce the issue from your support case. Or, follow the steps that AWS Support advised in a local setup.
- In DevTools, open the context (right-click) menu on any network request.
- Choose Save all as HAR with content, and then save the file.
For more information, see Open Chrome DevTools and Save all network requests to a HAR file on the Google Developers website.
Microsoft Edge (Chromium)
- In the browser, at the top right, choose Settings and more.
- Pause on More tools, and then choose Developer tools.
- With DevTools open in the browser, choose the Network panel.
- Select the Preserve log check box.
- Choose Clear to clear all current network requests.
- In the AWS Management Console, reproduce the issue from your support case. Or, follow the steps that AWS Support advised in a local setup.
- In DevTools, open the context (right-click) menu on any network request.
- Choose Save all as HAR with content, and then save the file.
For more information, see Save all network requests to a HAR file on the Network Analysis Reference page of the Microsoft Docs website.
Mozilla Firefox
- In the browser, at the top right, choose Open Application Menu.
- Choose More tools, and then choose Web Developer tools.
- In the Web Developer menu, choose Network. (In some versions of Firefox, the Web Developer menu is in the Tools menu.)
- Choose the gear icon, and then select Persist Logs.
- Choose the trash can icon (Clear) to clear all current network requests.
- In the AWS Management Console, reproduce the issue from your support case. Or, follow the steps that AWS Support advised in a local setup.
- In the Network Monitor, open the context menu (right-click) on any network request in the request list.
- Choose Save All As HAR, and then save the file.
For more information, see Network Monitor and Network request list on the MDN Web Docs website.
Edit the HAR file
- Open the HAR file in a text editor application.
- Use the text editor's Find and Replace tools to identify and replace all sensitive information captured in the HAR file. This includes any user names, passwords, and keys that you entered in your browser while creating the file.
- Save the edited HAR file with the sensitive information removed.
Submit the HAR file
- In the AWS Support Center, under Open support cases, choose your support case.
- In your support case, choose your preferred contact option, attach the edited HAR file, and then submit.
Related information
What browsers are supported for use with the AWS Management Console?