title: How to integrate log analytics workspace with Azure Databricks notebook for monitoring databricks notebook(Custom logging)?
body: <p>I created notebooks in Azure databricks workspace and want to monitor my notebooks by using Log Analytics workspace but I could not see any log metrics for databricks notebook because databricks is a third-party tool. Like as we create log metrics monitoring for Azure SQL database by using log analytics with SQL analytics. After following few docs and blogs I got to know there is no inbuilt feature in log analytics for monitoring databricks notebook, I have to write custom code(using Python) for monitoring databricks notebook. Team, could you please help me here if anyone has implemented the same and have some idea. I followed this link:</p>
  
  <p><a href="https://docs.microsoft.com/en-us/azure/databricks/administration-guide/account-settings/azure-diagnostic-logs" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/databricks/administration-guide/account-settings/azure-diagnostic-logs</a></p>