How do I create a HAR file from my browser for an AWS Support case?

Last updated: 2020-04-08

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 81.0.4044.92, Microsoft Edge (Chromium) version 80.0.361.111, and Mozilla Firefox version 75.0. 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

  1. In the browser, at the top right, choose Customize and control Google Chrome.
  2. Pause on More tools, and then choose Developer tools.
  3. With DevTools open in the browser, choose the Network panel.
  4. Select the Preserve log check box.
  5. Choose Clear to clear all current network requests.
  6. In the AWS Management Console, reproduce the issue from your support case. Or, follow the steps that AWS Support advised in a local setup.
  7. In DevTools, open the context (right-click) menu on any network request.
  8. 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)

  1. In the browser, at the top right, choose Settings and more.
  2. Pause on More tools, and then choose Developer tools.
  3. With DevTools open in the browser, choose the Network panel.
  4. Select the Preserve log check box.
  5. Choose Clear to clear all current network requests.
  6. In the AWS Management Console, reproduce the issue from your support case. Or, follow the steps that AWS Support advised in a local setup.
  7. In DevTools, open the context (right-click) menu on any network request.
  8. 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

  1. In the browser, at the top right, choose Open menu.
  2. Choose Web Developer.
  3. In the Web Developer menu, choose Network. (In some versions of Firefox, the Web Developer menu is in the Tools menu.)
  4. On the Network Monitor, select the Persist Logs check box.
  5. Choose the trash can icon (Clear) to clear all current network requests.
  6. In the AWS Management Console, reproduce the issue from your support case. Or, follow the steps that AWS Support advised in a local setup.
  7. In the Network Monitor, open the context menu (right-click) on any network request in the request list.
  8. 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

  1. Open the HAR file in a text editor application.
  2. 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.
  3. Save the edited HAR file with the sensitive information removed.

Submit the HAR file

  1. In the AWS Support Center, under Open support cases, choose your support case.
  2. In your support case, choose your preferred contact option, attach the edited HAR file, and then submit.

Did this article help?


Do you need billing or technical support?