Rest endpoint for data bricks audit logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2024 11:03 PM
I am trying to find official documentation link to get audit logs of data bricks. unable to find it. referred on.
https://docs.databricks.com/en/administration-guide/account-settings/audit-logs.html
https://docs.databricks.com/api/workspace/introduction
In above links there was no AP to fetch the audit logs.
But we found this link https://learn.microsoft.com/en-us/answers/questions/1180832/how-to-query-databricks-audit-logs
In this we found that The endpoint for querying audit logs is ``` /api/2.0/audit/get ```
To support that Please share official documentation link to get audit logs using rest API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2024 11:07 PM
Hi @madhura Good day
Please find the official doc for the Audit Logs: https://docs.databricks.com/en/administration-guide/account-settings/audit-logs.html
Also, the easiest way to access and query your account’s audit logs is by using system tables (Public Preview).
Let us know if this information is helpful.
Kind regards,
Yesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2024 11:18 PM
Hi @Yeshwanth
Thank you for the your answer.
In above links I didn't see any API to fetch the audit logs.
I want to access all audit logs of data bricks using API .
Thanks,
Madhura
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2024 11:28 PM - edited 04-28-2024 11:32 PM
I could not find any endpoint that can be used to get the Audit logs.
However, you can enable system tables in your workspace and try to read the data just like you read from any other table. Please check this to enable system tables: https://docs.databricks.com/en/administration-guide/system-tables/index.html
Also, if you have system logs enabled/audit log tables in their workspace, this API could help:
Kind regards,

