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:ย 

Log jobs stdout to an Azure Logs Analytics workspace

templier2
New Contributor

Hello,

I have enabled cluster logs sending through an mspnp/spark-monitoring, but I don't see there stdout/stderr/log4j logs.

Is it supported?

3 REPLIES 3

VZLA
Databricks Employee
Databricks Employee

Hi @templier2 thanks for your question!

Have you tried enabling "Cluster log delivery" in Databricks, which can write these logs to an Azure storage account. Once there, I believe you can use a pipeline or Azure Log Analytics agent to forward these logs to your Log Analytics workspace.

templier2
New Contributor

Hello @VZLA , thank you for your answer.

I can't see there an option to put logs to a storage container - only to the DBFS mount point.

I can only export logs to a mount point on DBFS.
Mounting a storage container there is only possible via an init script, but altogether, it feels like a makeshift solution held together with duct tape and chewing gum.

VZLA
Databricks Employee
Databricks Employee

Hi @templier2 

If it works, itโ€™s not duct tape and chewing gum; itโ€™s a paperclip away from advanced engineering! ๐Ÿ™ƒ

You're right, I forgot this option is only there for AWS/S3. So, yeah I think that's the current and only way, mount points.

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