Configuring bucket logging in IBM Storage Ceph
Follow these steps in your Ceph console for bucket logging configuration. Refer to IBM Storage Ceph documentation for details of any of these steps.
- Create or identify the log bucket to store the log objects.
- Enable the bucket logging on the source buckets with the following configuration. See Enable bucket logging for source buckets.
Each source bucket must have a unique prefix. It cannot be empty.
Logging type must be Journal. This logging type, logs only those operations that modify an object, such as PUT, POST, or DELETE.
Set the TargetObjectKeyFormat parameter with the value PartitionedPrefix.
Set the PartitionDateSource parameter as EventTime.
For the parameter ObjectRollTime , specify the time in seconds after which a new log object is created. Default is 3600 seconds (one hour).
- Configure a policy on the log bucket to enable logging for the other buckets. See Configuring access policy on the log bucket.
- Configure access permissions on the source and log object buckets. See Configuring access permissions for the buckets.