S3 Get Bucket Logging
  • 24 Apr 2025
  • Dark
    Light

S3 Get Bucket Logging

  • Dark
    Light

Article summary

GEThttps://s3.<your-region>.backblazeb2.com/<your-bucket-name>/?logging

Returns the logging status of a bucket with Bucket Access Logs enabled and the permissions users have to view and modify that status.

AUTHORIZATION AWS Signature

This request is using AWS Signature from collection Backblaze B2 Cloud Storage S3 Compatible API.

URI REQUEST PARAMETERS

Bucket

Required. 

The bucket name for which to get the logging information.

x-amz-expected-bucket-owner

The account ID of the expected bucket owner.

Example Response

200 OK
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
   <LoggingEnabled>
      <TargetBucket>string</TargetBucket>
      <TargetObjectKeyFormat>
         <PartitionedPrefix>
            <PartitionDateSource>string</PartitionDateSource>
         </PartitionedPrefix>
         <SimplePrefix>
         </SimplePrefix>
      </TargetObjectKeyFormat>
      <TargetPrefix>string</TargetPrefix>
   </LoggingEnabled>
</BucketLoggingStatus>



Was this article helpful?