Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Zero Trust Network Session Logs: On-Ramps, Fields, and Tunnel Replicas

How Zero Trust Network Session Logs cover every Gateway on-ramp, label Mesh and Workers VPC traffic, and trace tunnel replicas via Logpush.

This page summarises Cloudflare documentation on Zero Trust Network Session Logs: the zero_trust_network_sessions Logpush dataset for traffic proxied through Cloudflare Gateway. It explains which on-ramps produce logs, how to tell a laptop user from a Mesh node or a Worker, and how to trace a session to a specific Cloudflare Tunnel or cloudflared replica.

Zero Trust Network Session Logs: what they record and where to get them

Section titled “Zero Trust Network Session Logs: what they record and where to get them”

Zero Trust Network Session Logs record network sessions routed through Cloudflare Gateway—broader than dashboard Gateway activity logs, which focus on policy events and have different logging rules.

Network session logs are generated for all traffic proxied through Cloudflare Gateway across all supported on-ramps, such as the Cloudflare One Client (WARP), proxy endpoints (PAC files), Browser Isolation, and Cloudflare Tunnel.

— Cloudflare, Zero Trust Network Session Logs

The primary export path is Logpush (dataset zero_trust_network_sessions). Enterprise customers can also use Log Explorer and GraphQL for analysis; see network session analytics for related views.

Gateway network activity logs in the dashboard only include successfully established TCP connections. Incomplete handshakes are not recorded there. For failed connections, Cloudflare directs you to network session logs instead:

Gateway only logs TCP connections that were successfully established. If a connection is not complete (such as a TCP SYN with no SYN ACK), Gateway does not record it in network logs.

To log failed connections, use network session logs.

— Cloudflare, Gateway activity logs

Network Session Logs on all on-ramps: PAC files and Browser Isolation

Section titled “Network Session Logs on all on-ramps: PAC files and Browser Isolation”

If sessions from proxy endpoints or Browser Isolation seemed “missing,” the limitation was on-ramp coverage—not your Logpush job.

Zero Trust Network Session Logs are now generated for all traffic proxied through Cloudflare Gateway, regardless of on-ramp type. This includes traffic from proxy endpoints (PAC files) and Browser Isolation egress — on-ramps that previously did not generate session logs.

— Cloudflare, Network Session Logs now available for all on-ramps

Proxy endpoints documentation states that traffic through proxy endpoints generates Zero Trust Network Session Logs via Logpush and Log Explorer.

If you already ship zero_trust_network_sessions to a SIEM, expect higher volume when users rely on PAC-based proxy endpoints or Browser Isolation egress.

Mesh and Workers VPC in logs: tell users, nodes, and Workers apart

Section titled “Mesh and Workers VPC in logs: tell users, nodes, and Workers apart”

A common task is separating end-user laptop traffic (Cloudflare One Client) from Mesh nodes (headless client) and Workers using a Workers VPC binding—without inferring from connector email or Mesh IP ranges.

You can now tell a person on a laptop apart from a Mesh node or an AI agent running on Workers, without matching on connector email addresses or Mesh IP ranges — and see exactly which Cloudflare Tunnel and cloudflared replica received each session.

— Cloudflare, Identify Mesh, Workers VPC, and Cloudflare Tunnel replicas in network logs

Traffic kind Meaning Where it shows up
Mesh Sent from or to a Cloudflare Mesh node Gateway network logs: Traffic Source or Traffic Destination = Mesh; session logs: OnrampType or Offramp = MESH
Workers VPC Sent by a Worker through a Workers VPC binding Gateway: Workers VPC as Traffic Source; session logs: OnrampType = WORKERS_VPC

Mesh nodes used to look like ordinary Cloudflare One Client devices in logs because Mesh runs the client in headless mode. Workers VPC sessions were previously absent from Network Session Logs; they are included after the Mesh/Workers VPC logging update.

In the dashboard, see Viewing Mesh and Workers VPC traffic in Gateway network logs (linked from the same changelog). For Mesh specifically, Cloudflare Mesh get started — Logs notes that client traffic stays tied to the enrolled user identity, while Mesh-origin or Mesh-destination traffic is labelled Mesh.

zero_trust_network_sessions fields: OnrampType, Offramp, and Worker attribution

Section titled “zero_trust_network_sessions fields: OnrampType, Offramp, and Worker attribution”

The Logpush dataset adds explicit on-ramp and off-ramp typing plus replica and Worker identifiers.

Field Role
OnrampType How the session entered Cloudflare One: CF1_CLIENT, MESH, WORKERS_VPC, MAGIC, OTHER
Offramp Where the session was routed; Mesh destinations use MESH; Cloudflare Tunnel uses TUNNEL
SourceName Worker name (Workers VPC only)
SourceID Stable Worker identifier (Workers VPC only)
DestinationReplicaID Mesh node replica or cloudflared replica that served the session

Example filter from the changelog:

For example, OnrampType = ‘WORKERS_VPC’ AND Offramp = ‘MESH’ returns every session where a Worker reached a service behind a Mesh node, and SourceName tells you which Worker it was.

— Cloudflare, Identify Mesh, Workers VPC, and Cloudflare Tunnel replicas in network logs

VPC Networks — Logs describes auditing and debugging with SourceName, SourceID, and OnrampType = WORKERS_VPC.

SourceName and SourceID are filled only for Workers deployed after 29 September 2026 (Worker attribution release). Older deployments need a redeploy—no code changes:

SourceName and SourceID are only populated for Workers deployed after 29 September 2026. To include them for an existing Worker, redeploy it — for example, with npx wrangler deploy. No code changes are required.

— Cloudflare, Identify Mesh, Workers VPC, and Cloudflare Tunnel replicas in network logs

Troubleshoot and debug — Find a Worker’s sessions in logs recommends filtering on SourceName, then checking Offramp, OriginIP, OriginPort, and ConnectionCloseReason for routing and close reasons.

DestinationReplicaID and Cloudflare Tunnel: which replica got the session

Section titled “DestinationReplicaID and Cloudflare Tunnel: which replica got the session”

When you run multiple cloudflared replicas or highly available Mesh nodes, DestinationReplicaID ties a single session to one replica.

With DestinationReplicaID, you can now confirm which Cloudflare Tunnel and which cloudflared replica received traffic for a specific session. Combine it with the existing DestinationTunnelID field to trace a session to an exact tunnel replica — or Mesh node replica — when you run multiple replicas for high availability. The replica ID matches the Connector ID shown in the dashboard, so you can stream that replica’s logs with cloudflared tail –connector-id.

— Cloudflare, Identify Mesh, Workers VPC, and Cloudflare Tunnel replicas in network logs

Tunnel observability — Network session logs documents tunnel off-ramps:

Field Meaning
DestinationTunnelID Tunnel that received the session
DestinationReplicaID cloudflared replica; matches Connector ID in the dashboard

Investigate that replica:

cloudflared tail --connector-id <DESTINATION_REPLICA_ID> <TUNNEL_ID>

Sessions logged before the replica-ID enhancement are not backfilled. Historical rows may lack new fields even though newer sessions are complete.

IngressColoName: verify regional map for Zero Trust traffic

Section titled “IngressColoName: verify regional map for Zero Trust traffic”

If you use Regional Services with Cloudflare One, confirm traffic enters within your configured region by reading IngressColoName in Zero Trust Network Session logs:

To verify that your regional map is being applied correctly, check the IngressColoName field in your Zero Trust Network Session logs. This field shows the name of the Cloudflare data center where traffic ingressed.

— Cloudflare, Logpush integration — Verify regional map application

The same guidance appears for Regional Hostnames and Zero Trust data localization.

Common mistakes when reading Gateway and session logs

Section titled “Common mistakes when reading Gateway and session logs”
  • Expecting failed TCP handshakes in Gateway network logs — use Network Session Logs instead (Gateway activity logs).
  • Treating Mesh as a user laptop — use OnrampType / Offramp = MESH or Mesh traffic labels in Gateway logs (Mesh get started — Logs).
  • Filtering Workers without redeploying — empty SourceName/SourceID often means the Worker predates attribution (Workers VPC troubleshooting).
  • Assuming backfilled DestinationReplicaID — only new sessions after the change (changelog).
  • Confusing dashboard logging switches with Logpush — dashboard-only settings do not trim Logpush (Gateway activity logs).
  1. Confirm a Logpush job (or Log Explorer access) for the zero_trust_network_sessions dataset and that new Gateway on-ramps (PAC, Browser Isolation) appear if you use them (changelog).

  2. Run a test connection from each path you care about (WARP client, Mesh, Workers VPC) and verify OnrampType and Gateway Traffic Source labels match Workers VPC and Mesh logs documentation.

  3. For a multi-replica tunnel, note DestinationTunnelID and DestinationReplicaID on one session and match DestinationReplicaID to the tunnel Connector ID in the dashboard; optionally stream logs per Tunnel observability.

  4. If you use Regional Services, confirm IngressColoName falls inside your regional map (Logpush integration).

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page looks wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact sentence you are asking about so it can be corrected or explained.