Skip to content

Commit ec31ef2

Browse files
committed
log files
1 parent 64ea887 commit ec31ef2

File tree

1 file changed

+15
-4
lines changed
  • src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels

1 file changed

+15
-4
lines changed

src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/diag-logs.mdx

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ The steps for getting diagnostic logs depend on your `cloudflared` deployment en
1818

1919
### Prerequisites
2020

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
2322

2423
### Host environment
2524

@@ -134,8 +133,20 @@ This command will output the status of each diagnostic task and place a `cloudfl
134133

135134
## cloudflared-diag files
136135

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.
138137

139138
| File name | Description | Instance |
140139
| -| - | - |
141-
| | | |
140+
| `cli-configuration.json`| [Tunnel run parameters](/cloudflare-one/connections/connect-networks/configure-tunnels/tunnel-run-parameters/) used when starting the tunnel | diagnosee|
141+
| `cloudflared_logs.txt` | [Tunnel log file](/cloudflare-one/connections/connect-networks/monitor-tunnels/logs/)[^1] | diagnosee|
142+
| `configuration.json` | Tunnel configuration parameters | diagnosee|
143+
| `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

Comments
 (0)