Skip to main content

cluster_events

Creates, updates, deletes, gets or lists a cluster_events resource.

Overview

Namecluster_events
TypeResource
Iddatabricks_workspace.compute.cluster_events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
eventsarray
next_pageobject
total_countinteger

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
eventsselectdeployment_nameRetrieves a list of events about the activity of a cluster. This API is paginated. If there are more events to read, the response includes all the nparameters necessary to request the next page of events.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

Retrieves a list of events about the activity of a cluster. This API is paginated. If there are more events to read, the response includes all the nparameters necessary to request the next page of events.

SELECT
events,
next_page,
total_count
FROM databricks_workspace.compute.cluster_events
WHERE deployment_name = '{{ deployment_name }}' -- required;