S3 Get Bucket Logging
- Print
- DarkLight
S3 Get Bucket Logging
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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.
Please contact Backblaze Sales to enable Bucket Access Logs for your account. While you may see the Access Logs configuration option on your Buckets in the Backblaze web console, Bucket Access Logs still need to be enabled by a sales representative.
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?