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

Capture events such as Start, Stop and Terminate of cluster.

sonalitotade
New Contributor II

Hi,

I am using databricks with AWS.

I need to capture events such as Start, Stop and Terminate of cluster and perform some other action based on the events that happened on the cluster.

Is there a way I can achieve this in databricks?

2 REPLIES 2

daniel_sahal
Esteemed Contributor

@sonali totadeโ€‹ 

I see two ways of doing that:

  • Creating a custom app that will monitor Clusters API (list and get) and store their status somewhere, then trigger an action on new or status change,
  • Enable audit logging (https://docs.databricks.com/administration-guide/account-settings/audit-logs.html) and use CloudWatch or any other log analysis tool to create custom events.

sonalitotade
New Contributor II

Hi Daniel,

thanks for the response

I would like to know if we can capture the event logs as shown in the image below when an event occurs on the cluster.

image

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