Audit Logs (5)

Last updated Sep 9, 2026 provide a comprehensive summary of changes made within your Cloudflare account, including those made to R2 buckets. This functionality is available on all plan types, free of charge, and is always enabled.

Viewing audit logs

To view audit logs for your R2 buckets, go to the Audit logs page.

Go to Audit logs ↗

For more information on how to access and use audit logs, refer to Review audit logs.

Logged operations

The following configuration actions are logged:

Operation Description
CreateBucket Creation of a new bucket.
DeleteBucket Deletion of an existing bucket.
AddCustomDomain Addition of a custom domain to a bucket.
RemoveCustomDomain Removal of a custom domain from a bucket.
ChangeBucketVisibility Change to the managed public access (r2.dev) settings of a bucket.
PutBucketStorageClass Change to the default storage class of a bucket.
PutBucketLifecycleConfiguration Change to the object lifecycle configuration of a bucket.
DeleteBucketLifecycleConfiguration Deletion of the object lifecycle configuration for a bucket.
PutBucketCors Change to the CORS configuration for a bucket.
DeleteBucketCors Deletion of the CORS configuration for a bucket.

Note

Audit Logs do not include data access operations, such as GetObject and PutObject. To record supported object operations with response status codes below 400, use R2 Data Access Logs.

Data Access Logs also include supported requests to public R2 buckets through r2.dev or custom domains.

Example log entry

Below is an example of an audit log entry showing the creation of a new bucket:

{
    "action": { "info": "CreateBucket", "result": true, "type": "create" },
    "actor": {
        "email": "<ACTOR_EMAIL>",
        "id": "3f7b730e625b975bc1231234cfbec091",
        "ip": "fe32:43ed:12b5:526::1d2:13",
        "type": "user"
    },
    "id": "5eaeb6be-1234-406a-87ab-1971adc1234c",
    "interface": "API",
    "metadata": { "zone_name": "r2.cloudflarestorage.com" },
    "newValue": "",
    "newValueJson": {},
    "oldValue": "",
    "oldValueJson": {},
    "owner": { "id": "1234d848c0b9e484dfc37ec392b5fa8a" },
    "resource": { "id": "my-bucket", "type": "r2.bucket" },
    "when": "2024-07-15T16:32:52.412Z"
}

Was this helpful?

YesNo

On this page

Audit Logs (5) - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/r2/platform/audit-logs/#page","headline":"Audit Logs","description":"Review audit logs for configuration changes made to your R2 buckets.","url":"https://developers.cloudflare.com/r2/platform/audit-logs/","inLanguage":"en","image":"https://developers.cloudflare.com/r2/platform/audit-logs/og.png?v=ababc43fa091f870","dateModified":"2026-09-09","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Subscribe to R2 bucket events and Super Slurper events using Cloudflare Queues. title: Event subscriptions image: https://developers.cloudflare.com/r2/platform/event-subscriptions/og.png?v=acf39737520935cf


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/r2/llms.txt
Use this file to discover all available pages before exploring further.