Network Session Analytics, Gateway Logs, and Session Troubleshooting
How Cloudflare One Network session analytics and Gateway network logs show traffic, locations, protocols, and connection close reasons.
This page summarizes Cloudflare documentation on Network session analytics and related Gateway logging in Cloudflare One. Together they answer where Zero Trust network traffic enters and leaves the network, how much data moves, which protocols dominate, and why individual sessions end—including rate and concurrency limits.
Network session analytics: what the dashboard shows
Section titled “Network session analytics: what the dashboard shows”Network session analytics is a Cloudflare One dashboard built on the Zero Trust network sessions Logpush dataset. It gives visibility into traffic patterns, including on-ramps (how traffic enters Cloudflare—Cloudflare One Client, proxy endpoints, Browser Isolation, Cloudflare Mesh, Workers VPC, Cloudflare Tunnel) and off-ramps (how traffic exits—public Internet, Cloudflare Tunnel, or a Mesh node).
The Network session analytics dashboard provides visibility into your Cloudflare One traffic patterns. This dashboard helps you understand how traffic flows through your network, including on-ramps (how traffic enters Cloudflare, such as the Cloudflare One Client, proxy endpoints (PAC files), Browser Isolation, Cloudflare Mesh, Workers VPC, or Cloudflare Tunnel) and off-ramps (how traffic exits Cloudflare, such as the public Internet, a Cloudflare Tunnel, or a Mesh node).
— Cloudflare, Network session analytics
Changelog announcements describe the same capabilities in operational terms: geographic distribution, key metrics, connection-issue analysis, and protocol mix.
Analyze geographic distribution: View a world map showing where your network traffic originates, with a list of top locations by session count. Monitor key metrics: Track session count, total bytes transferred, and unique users. Identify connection issues: Analyze connection close reasons to troubleshoot network problems. Review protocol usage: See which network protocols (TCP, UDP, ICMP) are most used.
— Cloudflare, Network session analytics dashboard
Use it when you need aggregated patterns (bandwidth, users, geography, protocols) rather than a single event’s full field list.
Summary metrics: session count, bytes, and users
Section titled “Summary metrics: session count, bytes, and users”At the top of the dashboard, three rollups anchor most reviews:
| Metric | Meaning |
|---|---|
| Session count | Total network sessions; each session is an individual TCP, UDP, ICMP, or ICMPv6 flow through Gateway. |
| Bytes total | Upload plus download bytes across those sessions. |
| Unique users | Distinct users seen in the selected time range. |
Session count: Total number of network sessions. Each session represents an individual TCP, UDP, UDP, ICMP, or ICMPv6 flow that passes through Gateway. Bytes total: Total bytes transferred (upload + download) Unique users: Number of distinct users
— Cloudflare, Network session analytics
Traffic by location: ingress and egress data centers
Section titled “Traffic by location: ingress and egress data centers”The world map and location list rank Cloudflare data center locations by where traffic entered (ingress) and exited (egress) the network, with graphs and period-over-period Change per location. That is not the same as “country where the user sits”; it reflects Cloudflare’s edge/path view of the flow.
World map: Geographic visualization of network traffic by the Cloudflare data center where traffic entered the network (ingress) and where it exited (egress) Location list: Top Cloudflare data center locations by ingress and egress session count with accompanying graph Change: Shows the total change across ingress and egress for each location
— Cloudflare, Network session analytics
Top protocols and connection close reasons
Section titled “Top protocols and connection close reasons”Top protocols ranks TCP, UDP, ICMP, and ICMPv6 usage. Top connection close reasons surfaces why sessions terminated—useful when users report drops, idle timeouts, or TLS errors.
Documentation lists frequent reasons including client closed, origin closed, client idle timeout, client error, unknown, client TLS error, origin unreachable, too many new sessions for user, origin TLS error, and origin unroutable. The full enumerated set is defined in the dataset’s ConnectionCloseReason field (see field definitions in the network sessions dataset schema referenced on that page).
Changelog copy groups the same panels as: summary metrics, traffic by location, top protocols, and connection close reasons.
Summary metrics: Session count, bytes total, and unique users Traffic by location: World map visualization and location list with top traffic sources Top protocols: Breakdown of TCP, UDP, ICMP, and ICMPv6 traffic Connection close reasons: Insights into why sessions terminated (client closed, origin closed, timeouts, errors)
— Cloudflare, Network session analytics dashboard
How to open Network session analytics in Cloudflare One
Section titled “How to open Network session analytics in Cloudflare One”-
Log in to Cloudflare One.
-
Go to Zero Trust → Insights → Dashboards.
-
Select Network session analytics.
The Gateway product changelog gives the same navigation path and points readers to the dedicated product documentation for detail.
For how this dashboard fits alongside other insight surfaces, Cloudflare directs operators to Insights overview and pairing with Analytics Overview and Digital Experience Monitoring (DEX)—linked from the Network session analytics page.
Gateway activity logs vs network session analytics
Section titled “Gateway activity logs vs network session analytics”Operators often need event-level detail in logs and aggregate patterns in analytics. They complement each other; for session limit errors, product guidance explicitly prefers one log type over the other (see below).
Gateway activity logs: DNS, network, and HTTP
Section titled “Gateway activity logs: DNS, network, and HTTP”Gateway activity logs live under Zero Trust → Insights → Logs. You choose DNS query logs, Network logs, or HTTP request logs, filter by time and event attributes, and open a timestamp for deeper fields.
To view Gateway activity logs:
In the Cloudflare dashboard ↗︎, go to Zero Trust > Insights > Logs.
Choose a type of Gateway log:
DNS query logs Network logs HTTP request logs
— Cloudflare, Gateway activity logs
The log viewer supports enhanced filtering; you can return to the classic view with Return to old logs. Filtering on fewer fields improves load performance. Learning-path material also routes application troubleshooting through Access authentication logs versus Gateway log types by investigation scope.
To review traffic activity in the Gateway logs:
In the Cloudflare dashboard ↗︎, go to Zero Trust > Insights > Logs. Select HTTP request logs, Network logs, or DNS query logs depending on your investigation scope.
— Cloudflare, Test your first application
Gateway analytics: sessions over time and top lists
Section titled “Gateway analytics: sessions over time and top lists”Separate from the Network session analytics dashboard, Gateway analytics provides views such as Network Sessions over time (time series) plus tops for actions, countries, blocked users, bandwidth consumers, devices, and source IPs.
Network Sessions over time
Time series view of network sessions
Top Actions Top Countries Top Blocked Users Top Bandwidth Consumers Top Devices Top Source IPs
— Cloudflare, Gateway analytics (DNS, HTTP, network sessions)
Use Network session analytics when you need on-ramp/off-ramp flow context, ingress/egress maps, and connection close reason rankings tied to the network sessions dataset; use Gateway analytics for policy-oriented tops and the sessions time series in that product area.
Gateway network logs: Traffic Source and Traffic Destination columns
Section titled “Gateway network logs: Traffic Source and Traffic Destination columns”Changelog entries across Cloudflare One describe new visibility for identifying traffic paths—including Cloudflare Mesh, Workers VPC, and Cloudflare Tunnel replicas—in Network logs.
To view these values in the dashboard, go to Zero Trust > Insights & Logs > Logs > Network logs, select Columns, and turn on Traffic Source and Traffic Destination. Both values also appear under Network query details when you open a log entry.
— Cloudflare, Identify Mesh, Workers VPC, and Cloudflare Tunnel replicas in network logs
Traffic Source and Traffic Destination help explain which path carried a flow when Mesh, Workers VPC, or Tunnel replicas are in play—detail that summary dashboards may not spell out per session.
Connection close reasons and session limit errors
Section titled “Connection close reasons and session limit errors”When connection close reasons mention limits, the reason string encodes type and scope:
- Reasons containing
ACTIVE_SESSIONS: too many concurrent sessions. - Reasons containing
NEW_SESSIONS: sessions created too quickly. FOR_ACCOUNT: limit enforced on a Cloudflare server for the account; can affect multiple users on that server.FOR_USER: limit applies to one user.
Session limit close reasons identify the type and scope of a limit. Reasons containing ACTIVE_SESSIONS indicate too many concurrent sessions. Reasons containing NEW_SESSIONS indicate that sessions are being created too quickly. FOR_ACCOUNT reasons aggregate sessions for the account on the Cloudflare server enforcing the limit and can affect multiple users connected to that server. FOR_USER reasons apply to one user.
— Cloudflare, Network session analytics
Which logs to use for session limit investigation
Section titled “Which logs to use for session limit investigation”For limit-related closes, use Zero Trust Network Session Logs, not Gateway activity logs alone. Filter by ConnectionCloseReason, then correlate SessionStartTime and SessionID with Email, UserID, DeviceID, SourceIP, OriginIP, OriginPort, Protocol, and ConnectionReuse.
Use Zero Trust Network Session Logs, not Gateway activity logs, to investigate these errors. Filter by ConnectionCloseReason, then correlate SessionStartTime and SessionID with fields such as Email, UserID, DeviceID, SourceIP, OriginIP, OriginPort, Protocol, and ConnectionReuse.
— Cloudflare, Network session analytics
Mitigation steps documented by Cloudflare
Section titled “Mitigation steps documented by Cloudflare”Reduce automatic retries and connection churn in the affected application; reuse connections when the application and protocol allow. If sustained legitimate traffic still triggers limit errors, contact your account team or Cloudflare Support for review.
Reduce automatic retries and connection churn in the affected application. Reuse connections when the application and protocol support it. If expected sustained traffic continues to produce these errors, contact your account team or Cloudflare Support for review.
— Cloudflare, Network session analytics
Common mistakes when reading sessions data
Section titled “Common mistakes when reading sessions data”- Treating ingress/egress maps as end-user geolocation instead of Cloudflare data center entry/exit points.
- Opening Gateway activity logs only when investigating session limit errors, instead of Zero Trust Network Session Logs with ConnectionCloseReason filters.
- Ignoring Traffic Source / Traffic Destination in Network logs when Mesh, Workers VPC, or Tunnel replicas could explain duplicate or confusing paths (changelog).
- Confusing dashboard login sessions (manage active sessions) with Gateway network sessions (flows through Zero Trust).
How to check this on your site
Section titled “How to check this on your site”-
In Cloudflare One, open Zero Trust → Insights → Dashboards → Network session analytics and confirm session count, bytes total, and unique users match the period you expect.
-
On the same dashboard, review traffic by location ingress/egress and top connection close reasons for spikes that align with reported user issues.
-
Open Gateway activity logs → Network logs, enable Traffic Source and Traffic Destination columns, and verify path labels on a sample flow per Mesh/Workers VPC/Tunnel network logs guidance.
-
For suspected limit errors, query Zero Trust Network Session Logs with ConnectionCloseReason and correlate SessionID with user and origin fields as described in Network session analytics.
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will correct or clarify it.