What CloudFlare Logs
Apr 23, 2013Matthew Prince

Summary
This post details Cloudflare's initial logging policies and infrastructure. It explains that logs are generated for security threat identification and performance bottleneck analysis. For most customers, logs are discarded within 4 hours due to the massive scale (10 Petabytes/year and doubling every 4 months). Enterprise customers can opt to store logs for 3 days for export. Aggregate data is used for analytics (Cloudflare Analytics page) and security rule updates, with a stream processing engine correlating data at edge data centers. Error logs are kept for 1 week.
More from the Data Infrastructure & Analytics trail
- Introducing Cloudflare Basin: an open, serverless data platform, now generally available
- Introducing the Billable Usage API: programmatic cost visibility for Cloudflare
- Announcing the Monetization Gateway: charge for any resource behind Cloudflare via x402
- How we built Cloudflare's data platform and an AI agent on top of it
- Iran's Internet is partially restored, Cloudflare Radar data shows