Skip to main content

Audit logs

Audit logs are detailed records of the activity your users are taking in Omni, which can be useful for security and performance analysis. Events included in logs are structured as JSON payloads and sent in batches to Amazon S3 a few minutes after they're written.

Setup

Contact Omni support to request and set up this feature.

Once configured, Organization Admin permissions are required to access audit logs.

Data retention

By default, logs are retained for at least one year. Contact Omni support if you need a shorter retention period.

Event payloads

Use the sections below to learn about the fields that each event type contains. Note: Payloads can contain Omni metadata, which can be safely ignored.

Query context events

Occurs when a user loads a document (workbook or dashboard).

NameDescription
documentIdentifierThe unique ID of the workbook or dashboard within Omni, found within the URL for the document
embedEntityIf applicable, the value will be the value of the entity field in an embed URL generated for a user
eventThe type of the event. This will be QUERY_CONTEXT.
messageAdditional detail passed from the log
organizationIDThe unique identifier for the Omni organization
organizationUserIDThe unique identifier for the Omni user associated with the event
queryCountThe maximum number of query execution events that a query context event can trigger. Can be used to calculate cache hit rate as the denominator.
referrerThe URL of the page where the event was issued
sourceThe source of the query context event: dashboard or workbook
timestampThe time the event occurred
traceIDA uuid that can be used to trace the event across other log entries For example, from a query context or dashboard download event to the query execution events that were subsequently run.
urlThe URL of the page where the event occurred

Query execution events

Occurs when a user runs a query, which may be sent back to the warehouse.

NameDescription
@timestampThe time the event occurred
durationThe total length of query execution within the warehouse
eventThe type of the event. This will be QUERY_EXECUTE.
jobIdThe ID of the corresponding job in the warehouse where the query was executed
messageDetail passed from the infrastructure back to the user, if applicable
omniQueryIDA uuid for the query being executed within Omni. Used for query killing purposes.
organizationIDThe unique identifier for the Omni organization
queryThe query that was executed
traceIDA uuid that can be used to trace the event across other log entries For example, from a query context or dashboard download event to the query execution events that were subsequently run.

Dashboard download events

Occurs when a user downloads a full dashboard.

NameDescription
documentIdentifierThe unique ID of the workbook or dashboard within Omni, found within the URL for the document
embedEntityIf applicable, the value will be the value of the entity field in an embed URL generated for a user
eventThe type of the event. This will be DASHBOARD_DOWNLOAD.
messageAdditional detail passed from the log
organizationIDThe unique identifier for the Omni organization
organizationUserIDThe unique identifier for the Omni user associated with the event
timestampThe time the event occurred
traceIDA uuid that can be used to trace the event across other log entries For example, from a query context or dashboard download event to the query execution events that were subsequently run.
urlThe URL of the page where the event occurred

Connection base role events

Occurs when the base role for a connection changes.

NameDescription
actorDetails about the Omni user associated with the event
connectionIDThe ID of the connection associated with the role change
eventThe type of the event. This will be UPDATE_CONNECTION_BASE_ROLE.
messageAdditional detail passed from the log
roleDefinitionNameThe name of the updated base connection role
timestampThe time the event occurred
traceIDA uuid that can be used to trace the event across other log entries

User connection role events

Occurs when a user's connection role changes.

NameDescription
timestampThe time the event occurred
eventThe type of the event. This will be UPDATE_USER_CONNECTION_ROLE.
connectionIdThe ID of the connection associated with the role change
messageAdditional detail passed from the log
organizationIDThe unique identifier for the Omni organization
organizationUserIDThe unique identifier for the Omni user associated with the event
traceIDA uuid that can be used to trace the event across other log entries

User group connection role events

Occurs when the connection role for a user group changes.

NameDescription
actorDetails about the Omni user associated with the event
connectionIdThe ID of the connection associated with the role change
eventThe type of the event. This will be UPDATE_GROUP_CONNECTION_ROLE.
messageAdditional detail passed from the log
organizationIDThe unique identifier for the Omni organization
roleDefinitionNameThe name of the updated connection role
targetMembershipIDThe membership of the user group associated with the event
timestampThe time the event occurred
traceIDA uuid that can be used to trace the event across other log entries
userGroupIdThe ID of the Omni user group associated with the event

User invite events

Occurs when a new user is invited to the organization.

NameDescription
eventThe type of the event. This will be USER_INVITE.
invitedOrganizationUserIdThe ID of the invited user
messageAdditional detail passed from the log
organizationIDThe unique identifier for the Omni organization
organizationUserIDThe unique identifier for the Omni user associated with the event
timestampThe time the event occurred
traceIDA uuid that can be used to trace the event across other log entries