Cloudflare Gateway DNS

Cloudflare Gateway DNS logs capture DNS queries made through Cloudflare’s secure DNS filtering service, which provides protection against malware, phishing, and unauthorized content access. These logs include details such as the domain names requested, the user or device making the request, and whether the request was blocked or allowed based on security policies. The logs are valuable for monitoring web traffic, enforcing content filtering, and detecting potentially malicious or risky domains.

Ingest Methods

Setup the ingestion of this source using one of the following guides.

If using an AWS S3 bucket use the following SNS topic ARN to send your bucket notifications.

arn:aws:sns:<REGION>:253602268883:runreveal_cf_gateway_dns

Setup

Setting up Cloudflare gateway DNS logs requires the use of Cloudflare Logpush.

Navigate to the Logpush setup page in your Cloudflare account and create a new logpush job that sends gateway DNS logs to your storage bucket.

Once created Cloudflare will begin to push logs to your bucket and RunReveal will start to ingest them.

Schema

The following columns are exposed for this source. RunReveal applies schema normalization across all sources, ensuring uniform field names and data types for cross-source queries and reusable detection logic.

Table: cf_gateway_dns_logs (63 columns)

ColumnType
workspaceIDString
sourceIDString
sourceTypeLowCardinality(String)
sourceTTLUInt32
receivedAtDateTime
idString
eventTimeDateTime
eventNameString
eventIDString
srcIPString
srcASCountryCodeString
srcASNumberUInt32
srcASOrganizationString
srcCityString
srcConnectionTypeString
srcISPString
srcLatitudeFloat64
srcLongitudeFloat64
srcUserTypeString
dstIPString
dstASCountryCodeString
dstASNumberUInt32
dstASOrganizationString
dstCityString
dstConnectionTypeString
dstISPString
dstLatitudeFloat64
dstLongitudeFloat64
dstUserTypeString
actorMap(String, String)
tagsMap(String, String)
resourcesArray(String)
ColumnType
serviceNameString
readOnlyBool
rawLogString
ApplicationIDInt64
ColoCodeString
ColoIDInt64
DatetimeString
DeviceNameString
DstIPString
DstPortInt64
EmailString
LocationString
MatchedCategoryNamesArray(String)
PolicyString
PolicyIDString
ProtocolString
QueryCategoryNamesArray(String)
QueryNameString
QueryNameReversedString
QuerySizeInt64
QueryTypeInt64
QueryTypeNameString
RCodeInt64
RDataArray(String)
ResolvedIPsArray(String)
ResolverDecisionString
SrcIPString
SrcPortInt64
TimeZoneString
TimeZoneInferredMethodString
UserIDString