Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Request Log Fields: Pathing Status, Security Actions, and Analytics Dimensions

How to read HTTP, Gateway, and DNS log field names—pathing, security actions, dimensions—and verify decisions with jq and dashboards.

This page summarizes Cloudflare documentation on log fields and analytics dimensions: what each name means, how pathing and security fields relate to a block or allow, and how to aggregate Logpush JSON. It focuses on HTTP edge logs (security fields, pathing status), Cloudflare Gateway activity logs, DNS and DNS Firewall analytics, and parsing with jq and Splunk CIM.

HTTP Logpush: SecurityAction and SecuritySources meaning

Section titled “HTTP Logpush: SecurityAction and SecuritySources meaning”

When you need to know why a request was blocked, challenged, or allowed at the edge, SecurityAction and SecuritySources on HTTP Logpush records are the fields to read first.

SecurityAction: block, challenge, and allow values

Section titled “SecurityAction: block, challenge, and allow values”

block Drop Block with an HTTP status code of 403, 429, or any other 4XX status code.

— Cloudflare, Security fields

The full set includes allow, challenge, jschallenge, log, connectionClose, solved and bypassed challenge variants, bypass, and managed challenge actions. SecurityAction is the outcome applied to the request; pair it with HTTP status fields when distinguishing edge blocks from origin errors.

SecuritySources: which Cloudflare product triggered the rule

Section titled “SecuritySources: which Cloudflare product triggered the rule”

waf Allow or block based on the WAF product settings. This is the WAF/managed rules system that is being phased out.

— Cloudflare, Security fields

Other documented sources include firewallCustom, rateLimit, botManagement, botFight, bic, ip, country, zoneLockdown, and dlp. Use SecurityRuleID, SecurityRuleDescription, and WAF fields when you need rule-level detail. On WAF-oriented lines, action codes include 2 Drop (HTTP 403) and 3 Challenge Allow (Managed Challenge).

EdgePathingStatus: pathing source, operation, and Threat Analytics labels

Section titled “EdgePathingStatus: pathing source, operation, and Threat Analytics labels”

Pathing tells you which edge stage made a routing or security decision. Three fields belong together: EdgePathingSrc, EdgePathingOp, and EdgePathingStatus.

Cloudflare issues the following Edge Pathing Statuses: EdgePathingSrc (pathing source): The stage that made the routing decision. EdgePathingOp (pathing operation): The specific action or operation taken. EdgePathingStatus (pathing status): Additional information complementing the EdgePathingOp.

— Cloudflare, Pathing status

EdgePathingSrc: macro, user, bic, and err stages

Section titled “EdgePathingSrc: macro, user, bic, and err stages”

EdgePathingSrc refers to the system that last handled the request before an error occurred or the request was passed to the cache server. Typically, this will be the macro/reputation list.

— Cloudflare, Pathing status

Documented sources include err, sslv, bic, hot, macro, skip, and user.

EdgePathingOp wl vs ban: allow path vs block path

Section titled “EdgePathingOp wl vs ban: allow path vs block path”

EdgePathingOp indicates how the request was handled. wl is a request that passed all security checks in the cn.

— Cloudflare, Pathing status

ban indicates a block; errHost covers host header mismatch, DNS errors, and similar failures. With macro and status nr, the IP was not flagged; se means an allowlisted search engine crawler. Combinations such as user.ban.ip or macro.ban.ip map to Threat Analytics labels (for example “IP block (user)” or “Bad IP”) in the table on Pathing status. Configuration errors often show err_host with statuses like dns_err or reserved_ip, not a security ban.

Parse Logpush JSON: jq aggregate and filter by field

Section titled “Parse Logpush JSON: jq aggregate and filter by field”

Logpush emits one JSON object per event. To find popular paths or what returned 502, use the patterns in Parse Cloudflare Logs JSON data.

jq -r .ClientRequestURI logs.json | sort -n | uniq -c | sort -n | tail

The same pattern applies to ClientRequestUserAgent and ClientRequestReferer.

jq filter OriginResponseStatus 502 and SecurityAction block

Section titled “jq filter OriginResponseStatus 502 and SecurityAction block”
jq 'select(.OriginResponseStatus == 502) | .ClientRequestURI' logs.json | sort -n | uniq -c | sort -n | tail
jq -r 'select(.SecurityAction == "block") | .ClientIP' logs.json | sort -n | uniq -c | sort -n

Field names must match your enabled dataset. If Splunk dashboards are empty, compare shipped fields to the Enterprise list on Splunk integration (EdgePathingSrc, SecurityAction, RayID, and others).

ClientRequestHost: random hostnames from Host header injection

Section titled “ClientRequestHost: random hostnames from Host header injection”

Spikes on strange values in ClientRequestHost or rule field http.host are not always your real zone names.

Attackers send HTTP requests directly to those IPs with forged Host headers containing random subdomain guesses. Cloudflare logs the Host header value as-is in the ClientRequestHost field.

— Cloudflare, Random hostnames in partial zones

Filter top-N reports to known proxied hostnames; rare guessed subdomains often look like the examples in Random hostnames.

Gateway activity logs: DNS, HTTP, and network field groups

Section titled “Gateway activity logs: DNS, HTTP, and network field groups”

Gateway activity logs organize Zero Trust traffic by type. Identity fields (Email, User ID, Device ID, Registration ID) repeat across DNS, network, and HTTP rows.

Traffic type Start with these fields Policy / decision fields
DNS Query name, Action, Time, Resolved IPs Resolver decision, Policy name, Matched categories
Network Source IP, Destination IP, Action, Session ID Policy name, Transport protocol, Traffic Source
HTTP URL, HTTP Method, HTTP Status Code, Action Policy details, DLP profiles, file detection fields

Resolver decision values (for example blockedByCategory = 3, overrideApplied = 8) are documented on Gateway logs. Logpush for Zero Trust adds DNS fields such as Query name, Query type, Response TTL, and Response data in ResourceRecords or parsed ResourceRecordsJSON.

Gateway may log PII types including source IP, user email, user ID, device ID, URL, referer, and user agent. Access authentication logs are separate: App, User email, Allow, Connection, Ray ID, and Request time.

DNS analytics dimensions and DNS Firewall responseReason

Section titled “DNS analytics dimensions and DNS Firewall responseReason”

Dashboard dimensions for authoritative DNS and DNS Firewall differ from HTTP Logpush schema.

Authoritative DNS (Analytics and logs): query name, query type, response code, data center, source IP, destination IP, protocol, IP version.

DNS Firewall (Analytics) adds cluster, cluster IP, cached/stale flags, upstream nameserver IP, and responseReason.

When analyzing why Cloudflare DNS Firewall responded in one way or another to a specific query, consider the responseReason log field.

— Cloudflare, DNS Firewall analytics

responseReason Meaning
success Served from cache or upstream
upstream_failure / upstream_servfail Upstream missing or SERVFAIL
rate_limit DNS Firewall rate limit
any_type_blocked ANY query blocked per settings
attack_mitigation_block Random prefix attack mitigation

Public 1.1.1.1 resolver logging (Public DNS Resolver privacy) describes detailed resolver log and subrequest fields; raw Public Resolver Logs are deleted within 25 hours, with long-lived aggregations for Radar—separate from your zone or Gateway datasets.

Section titled “Splunk CIM mappings and bot-related log filters”

The Cloudflare App for Splunk maps Logpush to Splunk CIM—for example HTTP ClientIP → src_ip, EdgeResponseStatus → status; Gateway DNS QueryName → query; Access RayID → signature_id.

For crawl and bot analytics filters, AI Crawl Control GraphQL documents edgeResponseStatus_geq, clientRequestPath_like, and botDetectionIds_hasany (Bot Management). Bot Feedback Loop expression fields (cf.bot_management.score, ip.src, http.user_agent) align with fields you may also see in HTTP logs.

Common mistakes when interpreting log fields

Section titled “Common mistakes when interpreting log fields”
  • Using Business Insights Outcome as the name of the security product that acted on the request.
  • Reading only EdgeResponseStatus without EdgePathingSrc / EdgePathingOp / EdgePathingStatus.
  • Treating every rare ClientRequestHost as production traffic (Host header injection).
  • Expecting a non-zero IP threat score on Bad IP events; documentation states the score is always 0 currently.
  • Confusing Gateway Resolver decision codes with DNS Firewall responseReason strings.
  1. In the Cloudflare dashboard, open Security events or Analytics for a known URL, copy the Ray ID, and match SecurityAction and rule fields in Logpush or your SIEM using Parse Cloudflare Logs JSON data.

  2. On a recent HTTP Logpush file, run the documented jq counts for ClientRequestURI, then filter OriginResponseStatus == 502 or SecurityAction == "block" and confirm field names against the list on Splunk integration if imports fail.

  3. In Gateway activity logs, open one DNS and one HTTP row and verify Action, Policy name, and (for DNS) Resolver decision against your policies.

  4. For DNS Firewall, use analytics dimensions and inspect responseReason on failed or blocked queries.

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

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.