Open Ask AI (⌘/Ctrl+I)

Keycloak admin event logs

DX Cloud stores Keycloak admin event logs. These show administrative actions in Keycloak, such as user management, client configuration, realm settings, and role assignments.

Generally, logs are kept for 30 days. Your deployment may use a different retention period.

Select desired cluster

Select your desired cluster from the dropdown menu at the top of the Cockpit.

Select desired cluster in the Cockpit

View admin events

From Audit > Keycloak admin events:

  1. Select your desired cluster.
  2. Use the chart (histogram) to see Success (green), Client errors (yellow), and Server errors (red).
  3. In Filters, you can set:
    • Date range: calendar picker or a preset (for example Last 15 minutes)
    • Operation type: one or more types (for example CREATE, UPDATE, DELETE, ACTION)
    • Usernames: for example admin, service-account-cockpit
    • IPs: for example 109.71.102.68
    • Auth realms: for example magnolia, master
    • Auth client IDs: for example magnolia-cockpit, admin-cli
    • Resource paths: for example users/abc123, clients/xyz789
    • Resource types: for example USER, CLIENT, REALM, GROUP, ROLE

Keycloak admin events in the Cockpit

Details table

View log details in the Log Details table. Click Download logs (CSV) to download locally. Click a row to open a detailed view of that log.

Keycloak admin events details table

ColumnDescriptionExample
DateTimestamp when the admin event occurred (ISO 8601, UTC)2025-10-30T13:30:48Z
Operation typeAdministrative operation (CREATE, UPDATE, DELETE, ACTION, …)UPDATE
UsernameUsername or service account that performed the operationadmin
IPSource IP address109.71.102.68
Auth realmKeycloak realm where the administrator authenticatedmagnolia
Auth client IDClient ID used for authenticationmagnolia-cockpit
Resource pathPath of the affected resourceusers/a1b2c3d4-e5f6-7890-abcd-ef1234567890
Resource typeKeycloak resource type (USER, CLIENT, REALM, GROUP, ROLE, …)USER
Details JSONExtra metadata (change representation, errors, and so on){"id":"…","username":"john.doe",…}