cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Best mechanism to logging the notebook run/metadata and error details

SailajaB
Valued Contributor III

Hi,

How we can integrate log analytics with databricks to log notebook run details and code validations.

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

-werners-
Esteemed Contributor III

I think you are looking for sending application logs.

I'd use Log4j as this is already used by Databricks.

The link does not use notebooks but it should work in notebooks too.

View solution in original post

5 REPLIES 5

-werners-
Esteemed Contributor III

in your databricks workspace on the azure portal you can link a log analytics account (under 'Diagnostic settings').

Once it is linked you can check what you want to monitor.

SailajaB
Valued Contributor III

Thank you.. How we can push our customlogs to log analytics?

jose_gonzalez
Moderator
Moderator

Hi @Sailaja Bโ€‹ ,

I will recommend to check the following doc https://docs.microsoft.com/en-us/azure/databricks/administration-guide/account-settings/azure-diagno... it will show you how to log analytics on your Azure databricks

SailajaB
Valued Contributor III

Thank you..

Best way to maintain custmlogs in databricks?

-werners-
Esteemed Contributor III

I think you are looking for sending application logs.

I'd use Log4j as this is already used by Databricks.

The link does not use notebooks but it should work in notebooks too.

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