Cloudflare DevelopersCD
Cloudflare Developers2y ago
4 replies
hob8yte

Enable Cloudflare R2 · Cloudflare Logs d...

Having some trouble getting my Worker logs to get send through Logpush into an R2 bucket. Following instructions here: https://developers.cloudflare.com/logs/get-started/enable-destinations/r2/

I have a worker with logpush = true set. It shows in the dashboard.

I have logpush enabled and going to R2. Status looks good. I used an admin level read/write api token for r2.

I have a r2 bucket that has the ownership challenge text file and seems good.

Not seeing any of the logs I see under "realtime logs" in my worker being sent to the bucket. Any thoughts?
Screenshot_2024-06-04_at_4.02.59_PM.png
Screenshot_2024-06-04_at_4.03.23_PM.png
Screenshot_2024-06-04_at_4.04.18_PM.png
Cloudflare Docs
Cloudflare Logpush supports pushing logs directly to R2 via the Cloudflare dashboard or via API.
Enable Cloudflare R2 · Cloudflare Logs docs
Was this page helpful?