[KB7697] Generate a HAR log file requested by ESET Technical Support

Issue

Details


Click to expand

HAR (short for HTTP Archive format) is a file that stores all the logs of web browser interaction with a website.

ESET Technical Support may request that you generate and submit a HAR log file when an issue occurs while visiting a website.


Solution

Some browsers may shorten responses

To limit the file size of generated HAR log files, some browsers may shorten website responses to 1MB. To collect the complete response in your HAR log file, we recommend you generate HAR log file in Firefox with the response limit disabled.

Protect your username and password

If you type your login credentials during the log collection, the credentials will be a part of the HAR file you generate. We recommend that you start the log collection after you log in. If the issue appears during login, we recommend you use a temporary password during the log collection and change your password when you create the HAR file.

Use a secure method to send the HAR file

We recommend you send the HAR file to ESET Technical Support by uploading the HAR file in a password-protected encrypted ZIP file on an FTP server and sending the password via email.

Generate HAR log file in Google Chrome

  1. Open Google Chrome, click the Menu (three dots) icon in the top right corner and click New incognito window. In the new Incognito window of Google Chrome, navigate to the website where the issue is occurring.

    Figure 1-1
  2. Click the Menu (three dots) icon in the top right corner and click More ToolsDeveloper Tools.

    Figure 1-2
  3. Click Network.

  4. Confirm the Record icon is red. If it is gray, click the gray Record icon to start recording. Click the Clear icon to clear any existing logs, then select the check box next to Preserve log.

    Figure 1-3
  5. Recreate the issue in your web browser.

  6. After the issue is recreated, click the Record icon to stop any further recording. Right-click anywhere on the log and click Save all as HAR with Content.

    Figure 1-4
  7. Select a file path, type a name for the file and click Save.

    Figure 1-5
  8. Upload the HAR file to your support ticket.


Generate HAR log file in Firefox

  1. Open Firefox and disable the response limit:

    1. In the address bar, type about:config and press Enter.
    2. In the search bar, type or copy/paste devtools.netmonitor.responseBodyLimit.
    3. Click the Edit (pencil) icon, set the value to 0 and click the Check mark icon to confirm the change.
    Figure 2-1
  2. Click the Menu  icon in the top right corner and click New private window. In the new private window of Firefox, navigate to the website where the issue is occurring.

    Figure 2-2
  3. Click the Menu  icon in the top right corner and click More Tools.

    Figure 2-3
  4. Click Web Developer Tools.

    Figure 2-4
  5. Click Network and click the Clear icon to clear any existing logs.

    Figure 2-5
  6. Click the Gear icon and select Persist Logs.

    Figure 2-6
  7. Recreate the issue in your web browser. Firefox starts logging automatically.

  8. After the issue is recreated, click the Pause recording icon  to stop any further recording. Right-click anywhere on the log and click Save all as HAR.

    Figure 2-7
  9. Select a file path, type a name for the file and click Save.

    Figure 2-8
  10. Upload the HAR log file to your support ticket.


Generate HAR log file in Safari

  1. Open Safari and click FileNew Private Window. In the private window, navigate to the website where the issue is occurring.

  2. In the menu bar, click SafariPreferences.

    Figure 3-1
  3. In the dialog box, click Advanced and select the check box next to Show Develop menu in menu bar.

    Figure 3-2
  4. In the menu bar, click Develop and click Show Web Inspector.

    Figure 3-3
  5. Recreate the issue in your web browser.

  6. After the issue is recreated, click Export.

    Figure 3-4
  7. Type a name for the file and click Save.

    Figure 3-5
  8. Upload the HAR log file to your support ticket.