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, Instance 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

Toggle 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
timestampThe time the event occurred
documentIdentifierThe unique ID of the workbook or dashboard within Omni, found within the URL for the document
eventThe type of the event. For query context events, 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
referrerThe URL of the page where the event was issued
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
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.
sourceThe source of the query context event: dashboard or workbook
embedEntityIf applicable, the value will be the value of the entity field in an embed URL generated for a user
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. For query execution events, this will be QUERY_EXECUTION
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
timestampThe time the event occurred
documentIdentifierThe unique ID of the workbook or dashboard within Omni, found within the URL for the document
eventThe type of the event. For dashboard downloads, 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
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
embedEntityIf applicable, the value will be the value of the entity field in an embed URL generated for a user