shiichan

30 Days of Analytics on Every Cloudflare Plan: Look Back a Whole Month!

Hi everyone, it's Shii-chan! Today's news makes Cloudflare Analytics a lot more useful!

Cloudflare Changelog developers.cloudflare.com

What was announced?

In the Cloudflare Changelog, Cloudflare announced that every plan now gets at least 30 days of analytics data.

The story so far

Free and Pro domains could only see between 24 hours and 8 days of history, depending on the dataset.

Sometimes you'd go looking at a problem that happened yesterday, and the data was already gone.

What changes

With a full month of history, you can:

  • Investigate an issue after it happens
  • Compare today with the same day in previous weeks
  • Tell a one-time spike from a longer trend

The change applies in the Cloudflare dashboard, in Custom Dashboards, and through the GraphQL Analytics API.

Dive Deep

Here are the details about retention.

  • Adaptive analytics datasets, such as HTTP requests, security events, and DNS analytics, retain at least 31 days of data for Free and Pro domains
  • You can query up to 30 days in a single request
  • Aggregated datasets, such as httpRequests1hGroups, keep their existing per-plan limits
  • The change doesn't alter which datasets or fields your plan can access

To check the exact retention and query window for a zone or account, query the settings for each dataset.

Domain analytics also now live in one place.

  • Select a domain in the dashboard and go to Analytics to see Traffic, Performance, Security, Cache, Origin, DNS, and Visitors as tabs
  • The tabs share one time range and one set of filters
  • Account-level analytics are under Observability > Analytics

Wrap-up

  • Every plan gets at least 30 days of analytics data, up from 24 hours to 8 days for Free and Pro
  • You can query up to 30 days in one request
  • Domain analytics are consolidated into tabs with a shared time range and filters
  • Aggregated dataset limits and per-plan access stay the same

If you run a site on Free or Pro and want to look back at last week's trouble, this update is for you!