Documentation
07Reference

Data retention

How long operational data is kept, and what InsightFlare does not delete on its own.

Operational data

Operational records have configurable retention. Set it in system settings, from 1 to 3650 days each:

DataDefault
Scheduled task logs and runs30 days
Test notifications30 days
Warning and critical notifications180 days
Other notifications120 days

Changes apply to new records only. The daily database maintenance task deletes expired task logs, task runs, and notifications in batches. It also marks stale runs and optimizes D1 query statistics.

Traffic data

The three built-in scheduled tasks are hourly visit aggregation, notification dispatch, and database maintenance. In this version, none of them deletes or archives visit and event records. Traffic data therefore stays in D1 until you remove it, for example by deleting a site, and D1 storage and read costs grow with it. Watch your usage on the System Performance page and in the Cloudflare dashboard.

An optional R2 binding exists for archive objects, but no built-in task writes them.

This page describes the current code. If you read elsewhere that traffic data is retained for a fixed period or compressed automatically, treat the release notes of the version you run as the authority.

Request observation data

Request observation records live in Cloudflare Analytics Engine, so Cloudflare's own retention rules for Analytics Engine apply to them. See Analytics Engine.

Accounts and settings

Users, teams, sites, funnels, goals, saved filters, API keys, and notification rules are kept until you delete them.