Skip to main content

Configure log storage

KakaoCloud Cloud Trail can store user activity events in Object Storage. The following sections describe how to configure log storage in Cloud Trail.

Permissions

To configure log storage, you must have both a project role (Project Admin or Project Member) and an organization role (Organization Admin or Trail Viewer).

Enable log storage

Enable log storage to store Cloud Trail event records.

info

Log storage runs on the selected interval (1 hour or 10 minutes) and begins at the next scheduled time after it is enabled. Storing the logs can take some time.

  1. Go to KakaoCloud Console > Management > Cloud Trail.

  2. Select the Event menu.

  3. Click [Log storage settings] in the upper-right corner of the event list.

  4. In the Log storage settings dialog, set Log storage option to Enabled, and then configure the required settings.

    ItemDescription
    Log storage optionWhether to use log storage (Disabled or Enabled)
    Event storage scopeProject events are stored by default.
    - Select Include organization events to store organization events as well.
    Object Storage bucketObject Storage bucket where events are stored (required)
    - Charges apply based on the volume of stored logs.
    - Events are stored in the domain_event and project_event folders under the trail folder in the specified bucket.
    - If the bucket is deleted, logs cannot be stored correctly and deleted logs cannot be recovered.
    File extensionExtension of the compressed trail log files stored in the bucket
    - Select gz, gzip, or zip.
    - Changes apply from the next log storage time.
    - Select gz to analyze stored logs with Data Catalog and Data Query.
    Log storage intervalInterval for storing logs (1 hour or 10 minutes)
    - A folder is created in the bucket every hour, and log files are stored in that folder at the selected interval.
    IAM access keyIAM access key ID and secret access key used to store logs (required)
    - To issue an access key ID and secret access key, see Credentials > Issue IAM access key.
  5. Click [Save].

  6. Check whether log storage is enabled to the left of [Log storage settings].

Tutorial

For Cloud Trail log analysis or external system integration after Object Storage delivery, see the following tutorials.

Disable log storage

You can stop previously configured log storage. When disabled, all bucket and access key information related to log storage is reset.

  1. Go to KakaoCloud Console > Management > Cloud Trail.
  2. Select the Event menu.
  3. Click [Log storage settings] in the upper-right corner of the event list. In the dialog, set Log storage option to Disabled, and then click [Save].
  4. In the Disable log storage dialog, click [Stop].