Cloudflare provides a feature named Logpush that enables logs to be forwarded to 3rd party logging solutions. Logs are delivered near realtime in small batches.
Analytics & Logs
> Logpush
Create a Logpush job
max_upload_bytes
setting via their API. Because payloads from Cloudflare are compressed with GZIP, it is generally safe to set max_upload_bytes
up to 20MB, as the compressed size will typically be reduced to less than 10MB.
Recommended configuration based on log volume:
max_upload_bytes
to 5MB for log volumes under 200GB/daymax_upload_bytes
to 10MB for log volumes under 500GB/daymax_upload_bytes
to 20MB for log volumes over 500GB/daymax_upload_bytes
to 10MB:
Analytics & Logs
> Logpush
.
curl
request:
curl
request: