cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Is there any way to see who ran a notebook?

KrisMcDougal
New Contributor

I'm trying to find information to see who runs a notebook. I'm able to see who created the notebook, and I can find out when the notebook is ran, but there doesn't seem to be any information on who ran it, only who created the notebook. 

2 REPLIES 2

szymon_dybczak
Contributor III

Hi @KrisMcDougal ,

Unfortunately, I think there is no direct API to get this information. 

Rishabh-Pandey
Esteemed Contributor
SELECT * 
FROM system.logs 
WHERE event_type = 'notebook_run' 
ORDER BY timestamp DESC;

@KrisMcDougal with this code you can check from which user id the first command of the notebook got started and you will get to know who started the notebook.

Rishabh Pandey

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