cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

Rest endpoint for data bricks audit logs

madhura
New Contributor II

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

3 REPLIES 3

Yeshwanth
Databricks Employee
Databricks Employee

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

madhura
New Contributor II

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

Yeshwanth
Databricks Employee
Databricks Employee

@madhura 

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,

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group