Skip to content

Retrieve audit log events

Last updated on

Changes to organizations, folders, projects, and their cloud resources are logged and collected in the audit log.

To access the audit log with a user account, you must have the audit-log.entry.get permission. This permission is granted to users with the project owner, editor, reader, or audit-log.reader role.

Service accounts require the audit-log.reader role to access audit logs. To assign this role to a user or service account, follow these steps:

  1. Navigate to IAM and management > Access.

  2. Select Grant access.

  3. Enter the email address in the Subject field and select +Add.

  4. Select By products or services > Audit log > Audit log reader in the role drop-down.

  5. Select Save.

You can view audit log events directly in the STACKIT Portal. The Portal displays events from the last 90 days, including the event name, initiator, and time of the action.

To view the logs, navigate to Information > Audit log in the side navigation menu.

The audit log shows events for the organization, folder, or project selected in the Portal.

You can view organization events in the Audit log section of the organization’s main navigation. The Portal displays a list of events from the last 90 days, including the event name, initiator, and time of the action.

You can view folder events in the Audit log section of the folder’s main navigation. The Portal displays a list of events from the last 90 days, including the event name, initiator, and time of the action.

You can find the project audit log under Information > Audit log in the side navigation menu. The project audit log shows all events for the selected project. It cannot be changed or accessed from another project. When a user performs an action in a project, the action is sent as an event to that project’s audit log. For the common audit event fields, see Audit event fields.

Audit logs across all levels—organizations, folders, and projects—can be routed to any OpenTelemetry-compatible or S3-compatible destination by setting up a Telemetry Router.

Refer to the Telemetry Router overview to get started. For full sample events, see Samples.