If you experience TCP/IP problems with Chrome browser or a managed ChromeOS device, you can collect network logs and view network data. The network logs are useful if you need to debug network problems, analyze performance, or contact support about a problem.
If an issue seems to be HTTP related, such as 403 errors or missing HTTP headers, use HAR Analyzer .
How to
Get network logs
- Open a new Chrome browser window and browse to chrome://net-export/
- (Optional) Select the level of log detail.
- If you don’t change the level of log detail, private information is stripped.
- To include raw bytes (encrypted or otherwise) that were transmitted over the network, select Include raw bytes(includes cookies and credentials).
- Click Start logging to disk.
- Name the file and choose where to save it.
- Click Save.
- Open a new tab and re-create the problem.
- Go back to the net-export tab and click Stop logging.
If a problem occurs before you can browse to chrome://net-export, such as when the Chrome browser or device first starts, use the following command line flag to capture the network log:
--log-net-log=/tmp/mylog.json --net-log-level=0
If you need to, you can change the file path, /tmp/mylog.json
.
View network data
- Open a new Chrome browser window and browse to https://netlog-viewer.appspot.com/#import
Note:Events are captured immediately. You can see this happening in the red bar at the top of the browser window. - Click choose fileto import the network log and view information about network events. See the table below for details.
Import an exported .json file. Then you can view information about network events.
Capture device logs that are useful for troubleshooting ChromeOS device issues. You can:
- Import ONC file: Import an Open Network Configuration (ONC) file.
- Store Logs: Store all device logs in a TGZ file.
- Perform Network Debugging: Capture logs for specific network interfaces including Wi-Fi, Ethernet, Cellular, and Worldwide Interoperability for Microwave Access (WiMAX).
For information about how to examine ChromeOS device logs, see ChromeOS device debug logs .
Related topics
Google and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.