Retrieve audit log events
Last updated on
Changes to organizations, folders, projects, and their cloud resources are logged and collected in the audit log.
Prerequisites
Section titled “Prerequisites”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:
-
Navigate to IAM and management > Access.
-
Select Grant access.
-
Enter the email address in the Subject field and select +Add.
-
Select By products or services > Audit log > Audit log reader in the role drop-down.
-
Select Save.
View events in the STACKIT Portal
Section titled “View events in the STACKIT Portal”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.
Organization events
Section titled “Organization events”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.
Folder events
Section titled “Folder events”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.
Project events
Section titled “Project events”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.
Route events with Telemetry Router
Section titled “Route events with Telemetry Router”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.