Manage log storage
Cloud Trail event logs can be stored in Object Storage. The log storage feature is scheduled based on the top of the hour. Once the feature is enabled, log storage begins from the next hour mark. Note that it may take some time from the top of the hour until logs are actually stored.
The following describes how to manage logs in the Cloud Trail service.
The log storage feature is available only for users with the project role of Project Member
or Project Admin
and the organization role of Trail Viewer
or Org Admin
.
Enable log storage
You can enable log storage to save Cloud Trail event records.
-
Go to KakaoCloud Console > Management > Cloud Trail.
-
Select the Event menu.
-
Select the [Log storage settings] button at the top right of the event list.
-
In the Log Storage Settings popup, configure the following settings:
Item Description Log storage option Enable or disable log storage. Event storage scope Set the event storage scope.
- If organization events are not selected, only project events are stored.Storage bucket Object Storage bucket where events will be stored.
- Storage fees apply based on the volume of logs.
- Events are stored indomain_event
andproject_event
folders within thetrail
directory of the specified bucket.Access key IAM access Key ID and secret key used to store events.
- Refer to Get IAM access key for issuing keys. -
You can check the log storage status next to the [Log storage settings] button.
If a log storage error occurs due to actions like bucket deletion, permission changes, or access key deletion, the status will change to Log storage error. In that case, you must reconfigure log storage settings.
Disable log storage
You can stop the configured log storage. When disabled, all information related to the bucket and access keys will be reset.
- Go to KakaoCloud Console > Management > Cloud Trail.
- Select the Event menu.
- Select the [Log storage settings] button, set Log storage option to Disabled, and select the [Save] button.
- In the confirmation popup, select the [Disable] button.