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
Esteemed 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

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now