FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Sasha_FTNT
Staff
Staff
Article Id 191358

Description

 

This article describes how to collect browser logs in HAR (HTTP Archive format).

Solution

 

Chrome:

  1. Open a new incognito window (Chrome).

  2. In a new window, with 'right click' open the context menu and select 'Inspect'

  3. In the newly opened window go to the tab 'Network', and enable the checkbox 'Preserve log'.

  1. Go to the 'Console' tab, enable 'Persist Logs' from ‘Console Settings’.

    JeanPhilippe_P_0-1700218785037.png 

     

    Do not close this window until the debug is not finished.
     
     
  2. Return to the main incognito window and reproduce the issue.
     
     
  3. After reproducing the issue, go to the 'Inspect/Inspect element' window, in the tab 'Network' 'right-click' inside the grid with requests and select 'Save as HAR with content'.
     
  4. Go to the ‘Console’ tab, open the context menu, and select ‘Save as ...’.

     
     
Firefox:
  1. Open a new private window (Firefox).

  2. In the new window, with a 'right click' open the context menu and select 'Inspect element'.

  3. In the newly opened window, go to the tab 'Network', and enable the checkbox 'Persist Logs'.

 

 
  1. Go to the 'Console' tab, and enable 'Persist Logs' as well.

     
    Do not close this window until it is not finished debug.
     
  2. Return to the main private window and reproduce the issue.

  3. After reproducing the issue, go to the 'Inspect/Inspect element' window, in the tab 'Network' 'right-click' inside the grid with requests, and select 'Save All as HAR'.
     
     
How to analyze HAR File after capture:
At Har File Viewer, it is possible to upload the zip file and analyze the content:
 
Example:
 
harfile.png