question

TaylorPhilipRobert-0859 avatar image
0 Votes"
TaylorPhilipRobert-0859 asked stan commented

Find Databricks Notebook Changes via Log Analytics

We have databricks logging to log analytics turned on and it's working.

I am trying to find a KQL/Table that will allow me to see when Notebooks are changed.
I want to report out on these changes for change control reporting.

Any help is appreciated

azure-monitorazure-databricks
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

stan avatar image
0 Votes"
stan answered stan commented

Hi,
Notebook activity can be send to Log Analytics via notebooks log when you select it from diagnostic settings. The data from that log is available in DatabricksNotebook table in Log Analytics. Unfortunately, events/activities such as changing the content of a Notebook are not logged. Events that are logged for example are create notebook, delete notebook, attach notebook, detach notebook and etc.

The example query will not help you but just for better understanding here is a query about creating notebook event:


 DatabricksNotebook
 | where OperationName == "Microsoft.Databricks/notebook/createNotebook"


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

For some reason the website was not allowing me to accept... sorry about that.... the email i just received allowed me to link and accept.

0 Votes 0 ·
stan avatar image stan TaylorPhilipRobert-0859 ·

No problem. I know it is not the expected answer but I would suggest to address the problem via the different feedback channels available.

0 Votes 0 ·