大网数据广告活动
域与目录服务

Use NetLog to Capture Network Activity

· 52CE 我爱测

Provides guidance about using the Network Logs (NetLog) tool as an alternative to Fiddler and HTTP Archive (HAR) captures.

This article provides guidance on using the Network Logs (NetLog) tool as an alternative to Fiddler and HTTP Archive (HAR) captures to diagnose network issues in Microsoft Entra. NetLog is built into Chromium-based browsers like Microsoft Edge, Google Chrome, and Electron. When standard Fiddler captures are unavailable or HAR captures from developer tools truncate necessary information, you can use NetLog to capture network activity.

Known limitations

Before using NetLog, be aware of the following limitations:

  • POST request bodies aren't captured.
  • Sites running in Internet Explorer compatibility mode aren't captured.

Depending on the information you need, you might still need to use Fiddler or HAR captures.

Use NetLog in browsers

Follow these steps to capture network activity using NetLog:

  1. (Optional but helpful) Close all browser tabs except one.

  2. Navigate to NetLog:

    • For Google Chrome: Open a new tab and go to chrome://net-export.
    • For Microsoft Edge: Open a new tab and go to edge://net-export.
  3. In the Options section, select Include raw bytes (will include cookies and credentials).

  4. Leave the Maximum log size field blank.

  5. Select Start Logging to Disk.

  6. Select a location (such as Desktop) to save the log file (edge-net-export-log.json or chrome-net-export-log.json).

  7. In the same browser window, open a new tab.

  8. Reproduce the issue.

    [!NOTE] If you close or navigate away from the NetLog tab, the logging will stop automatically.

  9. After reproducing the issue, return to the NetLog tab and select the Stop Logging button.

  10. Locate the NetLog file saved in step 6.

For more information, see How to capture a NetLog dump.

Use NetLog on mobile devices

NetLog is supported on mobile versions of Microsoft Edge and Google Chrome:

  • Android: NetLog works in Edge and Google Chrome for Android.
  • iOS: NetLog works in Google Chrome for iOS.

On mobile devices, you have an email option to send the log.

View and analyze NetLog data

You can view the NetLog file using the online NetLog Viewer. To do so, open the NetLog Viewer, select File, and then upload the exported NetLog file.

You can use the following tabs in the NetLog Viewer to inspect different aspects of network activity:

  • Events: View detailed network events.
  • Proxy: Check proxy settings.
  • Timeline: Analyze request timing.
  • DNS: Inspect Domain Name System (DNS) lookups.
  • Sockets: Review Transmission Control Protocol (TCP) connections.
  • Cache: Examine cached resources.

Third-party information disclaimer

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/14/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。