You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/diag-logs.mdx
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,7 @@ The steps for getting diagnostic logs depend on your `cloudflared` deployment en
18
18
19
19
### Prerequisites
20
20
21
-
- Access to the `cloudflared` host being diagnosed
22
-
-`cloudflared` version 2024.12.2 or later
21
+
-`cloudflared` version 2024.12.2 or later installed on the host
23
22
24
23
### Host environment
25
24
@@ -134,8 +133,20 @@ This command will output the status of each diagnostic task and place a `cloudfl
134
133
135
134
## cloudflared-diag files
136
135
137
-
The `cloudflared-diag-YYYY-MM-DDTHH-MM-SS.zip` archive contains the files listed below. The data in a file either applies to the `cloudflared` instance being diagnosed (`diagnosee`) or the instance that triggered the diagnosis (`diagnoser`). For example, if your tunnel is running in a Docker container, the diagnosee is the Docker instance and the diagnoser is the host machine instance. The diagnosee and diagnoser could also be the same instance.
136
+
The `cloudflared-diag-YYYY-MM-DDThh-mm-ss.zip` archive contains the files listed below. The data in a file either applies to the `cloudflared` instance being diagnosed (`diagnosee`) or the instance that triggered the diagnosis (`diagnoser`). For example, if your tunnel is running in a Docker container, the diagnosee is the Docker instance and the diagnoser is the host instance.
138
137
139
138
| File name | Description | Instance |
140
139
| -| - | - |
141
-
||||
140
+
|`cli-configuration.json`|[Tunnel run parameters](/cloudflare-one/connections/connect-networks/configure-tunnels/tunnel-run-parameters/) used when starting the tunnel | diagnosee|
|`goroutine.pprof`| goroutine profile made available by `pprof`| diagnosee|
144
+
|`heap.pprof`| heap profile made available by `pprof`| diagnosee|
145
+
|`metrics.txt`| Snapshot of [Tunnel metrics](/cloudflare-one/connections/connect-networks/monitor-tunnels/metrics/#available-metrics) at the time of diagnosis | diagnosee|
146
+
|`network.txt`| JSON traceroutes to Cloudflare's global network using IPv4 and IPv6 | diagnoser|
147
+
|`raw-network.txt`| Raw traceroutes to Cloudflare's global network using IPv4 and IPv6 | diagnoser|
148
+
|`systeminformation.json`| Operating system information and resource usage | diagnosee|
149
+
|`task-result.json`| Result of each diagnostic task | diagnoser |
150
+
|`tunnelstate.json`| Tunnel connections at the time of diagnosis| diagnosee|
151
+
152
+
[^1]: If the log file is blank, you may need to manually [set the `--loglevel` parameter](/cloudflare-one/connections/connect-networks/monitor-tunnels/logs/#view-logs-on-the-server) when you start the tunnel. This parameter is only required if you ran the tunnel from the CLI using a `cloudflared tunnel run` command. It is not necessary if the tunnel runs as a Linux/macOS service or runs in Docker/Kubernetes.
0 commit comments