02-10-2026 11:54 AM
We would like to display some "usage" data from an App, specifically using the Insights "Viewers" data. Is that data available for us to query via system tables or access via API, or only via the UI?
02-18-2026 06:39 AM
Hi @sarahbhord,
Thanks for the response I did try those queries without any luck. I was hoping the User Authorization Actions example would work, but it doesn't return any results. We are using the preview feature Databricks Apps - On-Behalf-Of User Authorization, I don't know if that would have any impact on it?
02-12-2026 07:30 AM
02-18-2026 06:39 AM
Hi @sarahbhord,
Thanks for the response I did try those queries without any luck. I was hoping the User Authorization Actions example would work, but it doesn't return any results. We are using the preview feature Databricks Apps - On-Behalf-Of User Authorization, I don't know if that would have any impact on it?
02-18-2026 08:02 AM
Hey @dtank36 - when you go into your UC and system tables, do you see the tables you are trying to query? Can you possibly look manually through the UI to see if they are there?
Are you getting an error or just no records returned?
02-18-2026 10:58 AM
There is no data when I run the sample query provided here.
https://docs.databricks.com/aws/en/dev-tools/databricks-apps/monitor#track-user-authorization-action...
I do see in the docs that there is mention of the app storing visits somewhere, but maybe that data isn't available?
Databricks records a view event when a user accesses the app through the app URL or through API access. It stores data as unique per user, per app.
https://docs.databricks.com/aws/en/dev-tools/databricks-apps/monitor#viewer-tracking
02-19-2026 11:30 AM
Got it. That probably means there aren’t any audit events yet that match its filters.
Make sure you’ve actually exercised the app using On‑Behalf‑Of (have a few users sign in and trigger actions that call Databricks APIs through the app).
Confirm that system.access.audit is enabled and contains other recent rows for your workspace.
Temporarily relax the filters in the sample query (for example, remove the app id or narrow action types) to see if any OBO events show up at all.
Also - the “Viewers” data you see in App Insights is stored in an internal Viewers table and isn’t exposed through system tables or a public API, so it’s only available in the UI. The system.access.audit table and the example “User Authorization Actions” queries are useful for app‑level audit and security events, but they won’t return the same per‑user viewer metrics you see in the Insights “Viewers” panel, especially when using On‑Behalf‑Of authorization.
For now, the options are:
Use system.access.audit to build your own usage views where possible (e.g., app‑related events over time).
Continue to use the App Insights UI for the built‑in “Viewers” data until Databricks exposes that table or equivalent via API or system tables.