Logpush Dataset Fields: Ray ID, Identity, and Request Correlation
How Ray ID, User-Agent, email, and device identifiers appear across Logpush datasets and how to correlate edge, Access, and Zero Trust logs.
This page summarises Cloudflare documentation on Logpush job datasets: the fields operators use to trace a single HTTP request, tie firewall and bot events to traffic logs, and join Zero Trust client activity to users and devices. Most overlap is not “another product”—it is the same correlation primitives (RayID, Email, UserID, DeviceID, SessionID, AccountID) repeated with dataset-specific names and empty-value rules.
RayID and request correlation: what ties one HTTP request together
Section titled “RayID and request correlation: what ties one HTTP request together”Ray ID is the primary request handle on the Cloudflare edge. In Rules language, cf.ray_id is documented as the Ray ID of the current request, with the note that a Ray ID is given to every request that goes through Cloudflare.
The Ray ID of the current request.
A Ray ID is an identifier given to every request that goes through Cloudflare.
— Cloudflare,
cf.ray_id
In Logpush, the field name is usually RayID. On the account-scoped HTTP Requests dataset it is described as the ID of the request; the zone-scoped HTTP Requests dataset uses the same definition.
How RayID links firewall, WebSocket, and challenge flows
Section titled “How RayID links firewall, WebSocket, and challenge flows”Several security and protocol datasets carry the same RayID so you can pivot from application traffic to enforcement events:
| Dataset | Ray-related field | Meaning |
|---|---|---|
| Firewall Events (account or zone) | RayID |
The Ray ID of the request |
| Firewall Events | OriginatorRayID |
Ray ID of the request that issued the challenge; solved challenge actions populate this; Logpush returns 00 without an originator Ray ID |
| HTTP Requests | ParentRayID |
Ray ID of the parent request if the request was made using a Worker script |
| WebSocket Analytics | RayID |
Ray ID of the WebSocket upgrade request |
Access Requests adds RayID as the identifier of the request alongside Access-specific context (AppDomain, AppUUID, Connection for the identity provider, Email, UserUID).
User-Agent fields: names across datasets and Rules
Section titled “User-Agent fields: names across datasets and Rules”People often search for “user agent in logs”; Cloudflare stores the client’s User-Agent header under several field names depending on the dataset.
In the Rules language, http.user_agent is the HTTP User-Agent request header, described as a characteristic string to identify the client OS and browser, with an example Mozilla-style value.
The HTTP User-Agent request header, which contains a characteristic string to identify the client operating system and web browser.
— Cloudflare,
http.user_agent
Logpush naming is not uniform:
| Dataset | Field | Definition |
|---|---|---|
| HTTP Requests | ClientRequestUserAgent |
User agent reported by the client |
| Firewall Events | ClientRequestUserAgent |
The user-agent string of the visitor |
| Gateway HTTP | UserAgent |
Contents of the user agent header in the HTTP request |
| Turnstile Events | UserAgent |
The visitor’s full user agent string |
| Account Abuse Protection Events | UserAgent |
The user-agent string of the visitor |
| AI Gateway Events | UserAgent |
User-Agent header sent by the client, truncated to 512 characters |
Turnstile logs also split parsed browser/OS metadata (BrowserName, BrowserMajor, OSName, OSMajor) on Turnstile Events, which can be easier to aggregate than raw UserAgent strings.
Identity fields: Email, UserID, UserUID, and abuse-protection IDs
Section titled “Identity fields: Email, UserID, UserUID, and abuse-protection IDs”Access and Zero Trust user columns
Section titled “Access and Zero Trust user columns”Access Requests exposes Email (user who logged in), UserUID (uid of that user), and Connection (identity provider used for login). Generic OIDC integrations note you may configure a custom Email claim name when the IdP does not return the standard email claim in the OIDC ID token—relevant when Email looks empty in Access logs but authentication succeeded.
Device Posture Results ties posture uploads to Email (email used to register the device with the Zero Trust client), UserUID, DeviceID, and hardware fields (DeviceManufacturer, DeviceModel, DeviceSerialNumber, etc.).
Gateway and network session identity
Section titled “Gateway and network session identity”Gateway HTTP, Gateway DNS, Gateway Network, and Zero Trust Network Session Logs repeat a familiar tuple: AccountID, Email, UserID, DeviceID, RegistrationID, SessionID, and often TenantID. Zero Trust Network Session Logs states UserID is only applicable for WARP device clients.
Account Abuse Protection: hashed vs raw identifiers
Section titled “Account Abuse Protection: hashed vs raw identifiers”Account Abuse Protection Events (account scope; fields match the zone dataset) document:
UserID— zone-unique identifier for the user, hex-encoded, derived from the external user identifier provided during event submissionRawUserID— original user identifier; can contain personally identifiable informationEphemeralID— Turnstile ephemeral device identifier, hex-encodedAuthenticationIdentityProvider— populated for login events only, with enumerated values (unknown,other,selfHosted,amazon,apple,discord,facebook,github,linkedin,microsoft)
For privacy-preserving analytics, prefer UserID and EphemeralID; treat RawUserID and Email as high-sensitivity columns.
Fraud and bot user handles
Section titled “Fraud and bot user handles”HTTP Requests and Firewall Events include FraudUserID: a unique identifier generated by the Fraud Detection system for each user during actions determined by the fraud event type—useful alongside RayID when correlating bot/fraud signals to request logs.
Bot Management customers may also see JA3Hash and JA4 on HTTP Requests; both are available only for Bot Management customers, and the docs direct you to contact your account team to enable the feature.
AccountID and scope: account datasets vs zone datasets
Section titled “AccountID and scope: account datasets vs zone datasets”Many datasets exist in account and zone variants with parallel field lists—for example HTTP Requests vs zone HTTP Requests, and Firewall Events vs zone Firewall Events.
For analytics outside Logpush, the GraphQL account filter uses the same structure as the zone filter but with Account ID (accountTag) instead of Zone ID (zoneTag); you must specify an account filter for account-scoped queries and cannot query multiple accounts at once. Network Analytics queries require an Account ID filter.
Logpush rows themselves often include AccountID (for example Gateway HTTP documents it as the Cloudflare account tag) or ZoneName on edge HTTP and firewall datasets (human-readable zone name, e.g. cloudflare.com).
SCIM provisioning and GraphQL tutorials both point operators to find Account ID via dashboard or API when constructing account-scoped queries—your Logpush job name can echo that scope (see below).
Audit logs: actors, resources, and v2 account context
Section titled “Audit logs: actors, resources, and v2 account context”Configuration changes appear in Logpush Audit Logs and the newer Audit Logs v2 dataset.
Shared concepts from Audit Logs:
ActorEmail,ActorID,ActorType— who started the audit trailResourceID— unique identifier of the resource within Cloudflare’s systemOwnerID— user acted on behalf of; equalsActorIDwhen the user acted themselvesOldValue— object containing the prior value for the audited item
Audit Logs v2 adds account and zone context (AccountID, AccountName, ZoneID, ZoneName), AuditLogID, and ActorTokenDetails (object describing how the actor authenticated).
The fundamentals Audit Logs article adds product-level wording: the Account field ties activity to a customer environment (account ID and name), and Audit Log ID is a unique record identifier usable for deduplication, correlation, or referencing specific actions during investigations.
Logpush job naming and common correlation mistakes
Section titled “Logpush job naming and common correlation mistakes”API configuration for Logpush jobs defines Name as a human-readable, optional job name that does not need to be unique, with a recommendation to choose a meaningful name such as the domain name to identify and manage jobs; you can update the name later.
Common mistakes
Section titled “Common mistakes”- Joining on the wrong User-Agent column — match
ClientRequestUserAgenton edge datasets,UserAgenton Gateway/Turnstile/AI Gateway, andhttp.user_agentin Rules—not interchangeable names in storage. - Treating
00as a real Ray ID —OriginatorRayIDuses00when no originator exists on firewall challenge rows. - Expecting
RequestIDon every Gateway HTTP row — empty on bypass; use session/device fields from Gateway HTTP. - Mixing PII tiers —
RawUserIDandEmailin abuse-protection logs vs hexUserID; scope retention and access accordingly. - Ignoring account vs zone job scope — pick the dataset URL that matches your job (
/datasets/account/vs/datasets/zone/) before building schemas.
How to check this on your site
Section titled “How to check this on your site”-
Pick one recent edge request, note its Ray ID from the response header or error page, and confirm the same value appears as
RayIDin a sample from your HTTP Requests or zone HTTP Requests Logpush destination. -
For that Ray ID, search the same time window in Firewall Events and verify
ClientRequestUserAgentand optionalOriginatorRayIDmatch your incident narrative. -
If the traffic was Access-protected, compare
Email,UserUID, andConnectionon Access Requests for the sharedRayID. -
Confirm your Logpush job uses a meaningful
Nameper API configuration and that account-scoped jobs include the correct Account ID filter when you query via the GraphQL account filter. -
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 does not match the official dataset definitions, email yimasynthetic@gmail.com with the page URL and the exact statement you believe is wrong so it can be corrected.