---
title: "Cloudflare Analytics to BigQuery: Data Model | OWOX"
canonical: "https://www.owox.com/data-sources/cloudflare-analytics"
updated: "2026-11-26"
---

# Cloudflare Analytics data model: traffic, bot requests and security events as tables

A custom connector in OWOX Data Marts loads a Cloudflare zone's analytics, on any Cloudflare plan, into your data warehouse: exact traffic, daily splits, bot requests and security events.

1.  **Open source.** OWOX Data Marts is open source: you can read the code that loads and models your data, and run it yourself.
2.  **You own the data.** Cloudflare Analytics tables load into your data warehouse, under your account. If you leave OWOX, they stay where they are.
3.  **MCP-ready.** Once the data is in, Claude or ChatGPT can work from your Data Marts through OWOX MCP.

## The Cloudflare Analytics data model

9 tables · 61 fields · 9 joins · [View on GitHub](https://github.com/OWOX/models/blob/main/bundles/sources/cloudflare-analytics/index.md)

Daily Traffic is the anchor: one row per UTC day with the zone's totals, counted by Cloudflare's rollup and not sampled.

1.  Hourly Traffic and the daily splits by status, browser family, country, IP class and content type break those totals apart and join Daily Traffic on date; the status and country splits sum back to the day.
2.  Bot Requests by Page and Security Events come from Cloudflare's sampled datasets, so wherever `sample_interval` is above 1 their counts are estimates.
3.  Cloudflare's API reads only a limited window back, so each completed UTC day is loaded once and kept, and the tables become your history.

How the tables join (9)

*   Bot Requests by Page joins to Hourly Traffic · on `hour` · N:1 (many to one)

    The whole zone's traffic in the hour the bot request fell in.

    [Bot Requests by Page schema](#schema-bot-requests-by-page)

    [Hourly Traffic schema](#schema-hourly-traffic)

*   Bot Requests by Page joins to Daily by Status · on `date`, `status` · N:1 (many to one)

    All of the zone's responses with the same status that day, bots and people.

    [Bot Requests by Page schema](#schema-bot-requests-by-page)

    [Daily by Status schema](#schema-daily-by-status)

*   Daily by Browser joins to Daily Traffic · on `date` · N:1 (many to one)

    The day total the browser split comes from.

    [Daily by Browser schema](#schema-daily-by-browser)

    [Daily Traffic schema](#schema-daily-traffic)

*   Daily by Content Type joins to Daily Traffic · on `date` · N:1 (many to one)

    The day total the content-type split comes from.

    [Daily by Content Type schema](#schema-daily-by-content-type)

    [Daily Traffic schema](#schema-daily-traffic)

*   Daily by Country joins to Daily Traffic · on `date` · N:1 (many to one)

    The day total the country split comes from.

    [Daily by Country schema](#schema-daily-by-country)

    [Daily Traffic schema](#schema-daily-traffic)

*   Daily by IP Class joins to Daily Traffic · on `date` · N:1 (many to one)

    The day total the IP-class split comes from.

    [Daily by IP Class schema](#schema-daily-by-ip-class)

    [Daily Traffic schema](#schema-daily-traffic)

*   Daily by Status joins to Daily Traffic · on `date` · N:1 (many to one)

    The day total the status split comes from.

    [Daily by Status schema](#schema-daily-by-status)

    [Daily Traffic schema](#schema-daily-traffic)

*   Hourly Traffic joins to Daily Traffic · on `date` · N:1 (many to one)

    The day the hour belongs to.

    [Hourly Traffic schema](#schema-hourly-traffic)

    [Daily Traffic schema](#schema-daily-traffic)

*   Security Events joins to Daily by Country · on `date`, `country` · N:1 (many to one)

    All of the zone's traffic from the same country that day.

    [Security Events schema](#schema-security-events)

    [Daily by Country schema](#schema-daily-by-country)

Put the model in your [data warehouse](/data-storages), BigQuery, Snowflake, Redshift, Athena or Databricks, or keep each table as a Data Mart with its joins.

[Explore on canvas →](https://model.owox.com/?okf=https://github.com/OWOX/models/tree/main/bundles/sources/cloudflare-analytics)

[Import this model](https://model.owox.com/?okf=https://github.com/OWOX/models/tree/main/bundles/sources/cloudflare-analytics)

## Use it in your tools

*   Google Sheets
*   ChatGPT
*   Claude

The same published Data Marts feed Google Sheets reports and answer questions in ChatGPT, Claude or any other MCP-compatible assistant through OWOX MCP.

## Why OWOX

## Cloudflare Analytics kept past the API's window

Cloudflare's GraphQL Analytics API answers only for a limited window back, set per plan and dataset. Loaded day by day into your data warehouse, the same numbers stay, and bot traffic, security events and totals sit in one place you can query.

*   **Which AI crawlers read which pages.** Bot Requests by Page holds requests whose user agent names a bot, plus every request Cloudflare verified as one, by path, user agent and verified-bot category such as AI Crawler. Keep status 200 and content type html or md to see the pages crawlers actually fetched.
*   **Verified and claimed, told apart.** An empty verified\_bot\_category means Cloudflare did not verify the bot. Unverified traffic, spoofed crawlers included, becomes a number per page.
*   **Exact totals, sampled detail.** The rollup tables are exact. In Bot Requests by Page, requests is already scaled up by Cloudflare; in Security Events one row can stand for several events, so count events as SUM(sample\_interval).
*   **History you keep.** Each completed UTC day is loaded once and kept, so after Cloudflare's window has moved on, your tables are the only copy of those days.
*   **Security events against traffic.** Security Events joins Daily by Country on date and country. Count its events by sample\_interval first, then read the requests blocked from one country against all of that country's traffic the same day.
*   **One zone, one set of numbers.** [Spreadsheets](/product/spreadsheets), [dashboards](/product/dashboards) and [AI assistants](/product/ai-assistants) read the same tables, so a crawler report and a traffic report agree on the zone's requests.

## Endpoints

## Cloudflare Analytics Endpoints

[Documentation](https://developers.cloudflare.com/analytics/graphql-api/)

9 Cloudflare Analytics endpoints you can import. Each lands in its own table in your data warehouse.

*   [Bot Requests by Page Requests from bots and AI crawlers to one host, seen at Cloudflare's edge: one row per UTC hour, page path, method, user agent, status, content type and verified-bot category, with no IP addresses. 12 fields · Time series](#schema-bot-requests-by-page)

*   [Daily by Browser The zone's exact daily page views by browser family, as Cloudflare reads the user agent. 3 fields · Time series](#schema-daily-by-browser)

*   [Daily by Content Type The zone's exact daily requests and bytes by response content type: html, md, js, css, images, and empty for redirects. 4 fields · Time series](#schema-daily-by-content-type)

*   [Daily by Country The zone's exact daily requests, bytes and threats by client country. 5 fields · Time series](#schema-daily-by-country)

*   [Daily by IP Class The zone's exact daily requests by Cloudflare's IP class: searchEngine, badHost, tor, allowlist, monitoringService, unknown and others. 3 fields · Time series](#schema-daily-by-ip-class)

*   [Daily by Status The zone's exact daily requests by HTTP status code, from the daily rollup. 3 fields · Time series](#schema-daily-by-status)

*   [Daily Traffic The zone's exact daily totals from Cloudflare's daily rollup: requests, page views, unique client IPs, bytes, cached requests and bytes, threats and encrypted requests. 9 fields · Time series](#schema-daily-traffic)

*   [Hourly Traffic The zone's exact hourly totals from Cloudflare's hourly rollup: requests, page views, unique client IPs, bytes, cached requests and threats. 8 fields · Time series](#schema-hourly-traffic)

*   [Security Events Requests Cloudflare blocked, challenged or logged under a security rule: WAF managed rules, the browser integrity check, the security level and others. 14 fields · Time series](#schema-security-events)

## Bot Requests by Page schema

## Cloudflare Analytics Bot Requests by Page schema

12 fields · Time series · `cloudflare_bot_requests`

Requests from bots and AI crawlers to one host, seen at Cloudflare's edge: one row per UTC hour, page path, method, user agent, status, content type and verified-bot category, with no IP addresses.

### Questions this table answers

*   Which pages did verified AI crawlers fetch most last week, and which crawler read each one?
*   How many requests come from user agents that claim a known bot name but that Cloudflare did not verify?
*   Which missing pages do crawlers keep requesting?

| Field | Type | Description |
| --- | --- | --- |
| `date` | DATE | UTC day the row counts. |
| `host` | STRING | Host the bot requests were sent to: the connector's Host parameter, one host per load. |
| `hour` | DATETIME | Start of the UTC hour. |
| `path` | STRING | Request path without the query string. |
| `method` | STRING | HTTP method of the request, e.g. GET or HEAD. |
| `status` | INTEGER | HTTP status Cloudflare returned. |
| `row_key`PK | STRING | Hour\|host\|method\|path\|status\|content type\|verified category\|user agent. Unique per row. A re-run of a loaded day overwrites only the keys that come back, so delete the day's rows before reloading it. |
| `requests` | INTEGER | Requests. An estimate when sample\_interval > 1. |
| `user_agent` | STRING | User agent string the bot sent; the bot's claimed name, which only verified\_bot\_category confirms. |
| `content_type` | STRING | html, md, empty (redirects), js, css, gif… |
| `sample_interval` | FLOAT | Cloudflare adaptive sampling: 1 = every request counted; above 1, requests is scaled up from a sample. Delete a loaded day's rows before reloading it: rows of the first load whose keys do not come back stay, and the day is counted twice. |
| `verified_bot_category` | STRING | Cloudflare's verified-bot category, e.g. AI Crawler, AI Search, AI Assistant, Search Engine Crawler. Empty when Cloudflare did not verify the bot: spoofed, unknown, or not on Cloudflare's list. |

## Daily by Browser schema

## Cloudflare Analytics Daily by Browser schema

3 fields · Time series · `cloudflare_daily_by_browser`

The zone's exact daily page views by browser family, as Cloudflare reads the user agent.

### Questions this table answers

*   Which browser families bring the most page views?
*   How many page views a day come from bot families rather than browsers?

| Field | Type | Description |
| --- | --- | --- |
| `date`PK | DATE | UTC day the row counts. |
| `page_views` | INTEGER | Page views of that browser family that day. |
| `browser_family`PK | STRING | Browser family Cloudflare derives from the user agent, e.g. Chrome, Safari, BingBot. |

## Daily by Content Type schema

## Cloudflare Analytics Daily by Content Type schema

4 fields · Time series · `cloudflare_daily_by_content_type`

The zone's exact daily requests and bytes by response content type: html, md, js, css, images, and empty for redirects.

### Questions this table answers

*   How many HTML and Markdown pages does the zone serve a day, against assets?
*   Which content types carry most of the bytes?

| Field | Type | Description |
| --- | --- | --- |
| `date`PK | DATE | UTC day the row counts. |
| `bytes` | INTEGER | Bytes Cloudflare sent to clients in the row's period and split. |
| `requests` | INTEGER | Requests Cloudflare served in the row's period and split, people and bots together. |
| `content_type`PK | STRING | Content type of the response as Cloudflare names it: html, md, js, css, gif, empty for redirects. |

## Daily by Country schema

## Cloudflare Analytics Daily by Country schema

5 fields · Time series · `cloudflare_daily_by_country`

The zone's exact daily requests, bytes and threats by client country.

### Questions this table answers

*   Which countries send the most requests and the most threats?
*   Did traffic from one country jump on a given day?

| Field | Type | Description |
| --- | --- | --- |
| `date`PK | DATE | UTC day the row counts. |
| `bytes` | INTEGER | Bytes Cloudflare sent to clients in the row's period and split. |
| `country`PK | STRING | Client country as Cloudflare reports it: a two-letter code; XX when unknown. |
| `threats` | INTEGER | Requests Cloudflare counted as threats in the row's period and split. |
| `requests` | INTEGER | Requests Cloudflare served in the row's period and split, people and bots together. |

## Daily by IP Class schema

## Cloudflare Analytics Daily by IP Class schema

3 fields · Time series · `cloudflare_daily_by_ip_class`

The zone's exact daily requests by Cloudflare's IP class: searchEngine, badHost, tor, allowlist, monitoringService, unknown and others.

### Questions this table answers

*   How many requests a day come from search-engine IPs, and how many from bad hosts or Tor?
*   Is monitoring traffic a visible share of requests?

| Field | Type | Description |
| --- | --- | --- |
| `date`PK | DATE | UTC day the row counts. |
| `ip_class`PK | STRING | Cloudflare's class of the client IP, e.g. searchEngine, badHost, tor, monitoringService, unknown. |
| `requests` | INTEGER | Requests Cloudflare served in the row's period and split, people and bots together. |

## Daily by Status schema

## Cloudflare Analytics Daily by Status schema

3 fields · Time series · `cloudflare_daily_by_status`

The zone's exact daily requests by HTTP status code, from the daily rollup.

### Questions this table answers

*   How many 404 and 5xx responses did the zone return per day, and is the share growing?
*   What share of requests are redirects?

| Field | Type | Description |
| --- | --- | --- |
| `date`PK | DATE | UTC day the row counts. |
| `status`PK | INTEGER | HTTP status Cloudflare returned. |
| `requests` | INTEGER | Requests Cloudflare served in the row's period and split, people and bots together. |

## Daily Traffic schema

## Cloudflare Analytics Daily Traffic schema

9 fields · Time series · `cloudflare_daily_traffic`

The zone's exact daily totals from Cloudflare's daily rollup: requests, page views, unique client IPs, bytes, cached requests and bytes, threats and encrypted requests.

### Questions this table answers

*   How did requests, page views and unique IPs change week over week?
*   What share of requests and bytes does the cache serve each day?

| Field | Type | Description |
| --- | --- | --- |
| `date`PK | DATE | UTC day the row counts. |
| `bytes` | INTEGER | Bytes Cloudflare sent to clients for the zone that day. |
| `threats` | INTEGER | Requests Cloudflare counted as threats that day. |
| `uniques` | INTEGER | Unique client IPs that day. |
| `requests` | INTEGER | Requests Cloudflare served for the zone that day, people and bots together. |
| `page_views` | INTEGER | Cloudflare page views: successful HTML responses, bots included. |
| `cached_bytes` | INTEGER | Bytes served from Cloudflare's cache that day. |
| `cached_requests` | INTEGER | Requests served from Cloudflare's cache that day. |
| `encrypted_requests` | INTEGER | Requests that day sent over an encrypted (HTTPS) connection. |

## Hourly Traffic schema

## Cloudflare Analytics Hourly Traffic schema

8 fields · Time series · `cloudflare_hourly_traffic`

The zone's exact hourly totals from Cloudflare's hourly rollup: requests, page views, unique client IPs, bytes, cached requests and threats.

### Questions this table answers

*   At which hours of the day does traffic peak, and does the cache keep up?
*   Which hours had a burst of threats?

| Field | Type | Description |
| --- | --- | --- |
| `date` | DATE | UTC day the row counts. |
| `hour`PK | DATETIME | Start of the UTC hour. |
| `bytes` | INTEGER | Bytes Cloudflare sent to clients in the row's period and split. |
| `threats` | INTEGER | Requests Cloudflare counted as threats in the row's period and split. |
| `uniques` | INTEGER | Unique client IPs in that hour; the same IP in two hours counts in both, so hours do not add up to the day. |
| `requests` | INTEGER | Requests Cloudflare served in the row's period and split, people and bots together. |
| `page_views` | INTEGER | Cloudflare page views in the row's period: successful HTML responses, bots included. |
| `cached_requests` | INTEGER | Requests Cloudflare served from its cache in the row's period. |

## Security Events schema

## Cloudflare Analytics Security Events schema

14 fields · Time series · `cloudflare_security_events`

Requests Cloudflare blocked, challenged or logged under a security rule: WAF managed rules, the browser integrity check, the security level and others.

### Questions this table answers

*   Which rules block the most requests, and on which paths?
*   Which countries do blocked requests come from, against all their traffic that day?
*   Are challenges hitting real user agents on normal pages?

| Field | Type | Description |
| --- | --- | --- |
| `date` | DATE | UTC day the row counts. |
| `host` | STRING | Host name the request was sent to. |
| `path` | STRING | Request path without the query string. |
| `action` | STRING | What Cloudflare did with the request, e.g. block, managed\_challenge, js\_challenge or log. |
| `method` | STRING | HTTP method of the request. |
| `source` | STRING | Which Cloudflare security feature acted, e.g. firewallManaged (WAF managed rules), bic (browser integrity check), securitylevel. |
| `status` | INTEGER | HTTP status Cloudflare returned. |
| `country` | STRING | Client country as Cloudflare reports it: a two-letter code; XX when unknown. |
| `rule_id` | STRING | ID of the rule that fired; read it together with source. |
| `ray_name`PK | STRING | Cloudflare Ray ID of the request. |
| `event_time` | DATETIME | Time of the event (UTC). |
| `user_agent` | STRING | User agent string the client sent. |
| `description` | STRING | Cloudflare's description of the rule that fired. |
| `sample_interval` | FLOAT | Cloudflare adaptive sampling: 1 = every event is a row; above 1, one row stands for that many events. |

## What Cloudflare Analytics data answers

### Across the tables

*   Which pages do AI crawlers read most, and which crawlers does Cloudflare verify and which only claim a bot name?
*   Did 404s or `security events` grow this month, and from which countries and rules?
*   What share of the zone's daily requests is served from cache, and how does it change by hour?

## Recent updates

*   [0.45.0 · Know what a backfill loads when a connector has no date fields](/product/changelog#7259-backfill-without-date-fields)
*   [0.44.0 · Connector Data Marts set up through MCP no longer fail their first run because of the table path](/product/changelog#7205-connector-table-path-without-project)
*   [0.44.0 · Backfill a catalog for any period in one run, and follow a long backfill as parts of one operation](/product/changelog#7173-dateless-backfill-one-run)

## Other data sources

*   [Bank of Canada · 1 endpoint · 3 fields](/data-sources/bank-of-canada)
*   [B · Bing Webmaster Tools · 4 endpoints · 26 fields](/data-sources/bing-webmaster-tools)
*   [Criteo Ads · 4 endpoints · 196 fields](/data-sources/criteo)
*   [Facebook Ads · 15 endpoints · 1,174 fields](/data-sources/facebook-ads)
*   [GitHub · 3 endpoints · 54 fields](/data-sources/github)
*   [Google Ads · 9 endpoints · 168 fields](/data-sources/google-ads)

## Links

Pages this page links to, on this site and on docs.owox.com. Where the page has a Markdown twin, its address follows the link.

- [data warehouse](https://www.owox.com/data-storages) — /data-storages.md
- [Spreadsheets](https://www.owox.com/product/spreadsheets) — /product/spreadsheets.md
- [dashboards](https://www.owox.com/product/dashboards) — /product/dashboards.md
- [AI assistants](https://www.owox.com/product/ai-assistants) — /product/ai-assistants.md
- [0.45.0 · Know what a backfill loads when a connector has no date fields](https://www.owox.com/product/changelog) — /product/changelog.md
- [Bank of Canada · 1 endpoint · 3 fields](https://www.owox.com/data-sources/bank-of-canada) — /data-sources/bank-of-canada.md
- [B · Bing Webmaster Tools · 4 endpoints · 26 fields](https://www.owox.com/data-sources/bing-webmaster-tools) — /data-sources/bing-webmaster-tools.md
- [Criteo Ads · 4 endpoints · 196 fields](https://www.owox.com/data-sources/criteo) — /data-sources/criteo.md
- [Facebook Ads · 15 endpoints · 1,174 fields](https://www.owox.com/data-sources/facebook-ads) — /data-sources/facebook-ads.md
- [GitHub · 3 endpoints · 54 fields](https://www.owox.com/data-sources/github) — /data-sources/github.md
- [Google Ads · 9 endpoints · 168 fields](https://www.owox.com/data-sources/google-ads) — /data-sources/google-ads.md
