Cloudflare Logs

Granular Insights Into Your Traffic

Improve your application’s performance and security by tuning your Cloudflare configuration. Investigate and debug errors and security mitigations reported by your end users. Build customized analytics in the tools you already use.

Currently available for Enterprise customers. Contact Cloudflare Support or your Customer Success Manager to activate today. See our developer documentation for details.

Get comprehensive metadata on your domain’s requests

On-premise firewalls quickly become outdated and require professional service hours to regularly update rules to protect against new threats. Cloudflare’s WAF helps you stay ahead of threats by automatically updating worldwide when new security vulnerabilities are released. Cloudflare protects 16M+ Internet properties and processes 400B requests per day. The WAF leverages the learning from this traffic:

Protects against emerging threats Identifies and blocks repeat offenders proactively using machine learning Reduces risk of data loss and exposure Defends against DDoS and Layer 7 attacks

"Cloudflare’s Logpush and ready-made dashboards have allowed us to obtain complete end-to-end visibility of our network and has ensured that we can build a holistic threat intel view for our entire platform."
Steven Rogers, Senior Systems Security Specialist

Push directly to Amazon S3 or Google Cloud Storage

Have your Cloudflare request logs sent to your preferred storage provider (Amazon S3, Google Cloud Storage) and use the tools you already know to gain insights. Correlate with logs from other services for a comprehensive view of your systems.

Reduce deployment time and configuration errors by using our Dashboard UI and auto-generated bucket policies. Quickly configure dozens or hundreds of domains using an API.

Pull logs with a REST API

Write custom scripts to retrieve your logs continually using our powerful REST API. Build and operate your own log retrieval service to meet your specific log analysis requirements.

Pull logs as you need them by specifying time ranges and data fields. Control volume using count and sample parameters.

Key Features

Retrieve request logs over HTTP with a REST API

Specify time ranges, sample rates, and timestamp formats

Select from 50+ fields related to client, origin, firewall, cache, and Cloudflare routing

Have your logs pushed to your preferred cloud storage provider

Receive compressed files (approximately 5-10% of original size)

Reduce setup time using dashboard integrations with Sumo Logic, Google Data Studio, and Looker