• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. User Guide
  4. FAQ
  5. Access Log Record
  6. Can I Obtain Bucket Operation Logs from OBS?

Can I Obtain Bucket Operation Logs from OBS?

Yes.

OBS can record bucket access requests in logs for request analysis and log audit.

Logs occupy some OBS storage space rented by users, causing extra fees. For this reason, OBS does not collect bucket access logs by default.

For the analysis or audit purpose, you can enable log management. Access logs enable a bucket owner to analyze the property, type, or trend of requests to the bucket in depth. When the log management function of a bucket is enabled, OBS will log access requests for the bucket automatically, and write the generated log files to the specified bucket (target bucket).

Log files are stored to buckets in the following format:

<TargetPrefix>YYYY-mm-DD-HH-MM-SS-<UniqueString>