List Cluster Activity Events
db_cluster_events(
cluster_id,
start_time = NULL,
end_time = NULL,
event_types = NULL,
order = c("DESC", "ASC"),
offset = 0,
limit = 50,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
The ID of the cluster to retrieve events about.
The start time in epoch milliseconds. If empty, returns events starting from the beginning of time.
The end time in epoch milliseconds. If empty, returns events up to the current time.
List. Optional set of event types to filter by. Default is to return all events. Event Types.
Either DESC
(default) or ASC
.
The offset in the result set. Defaults to 0 (no offset). When an offset is specified and the results are requested in descending order, the end_time field is required.
Maximum number of events to include in a page of events. Defaults to 50, and maximum allowed value is 500.
Databricks workspace URL, defaults to calling db_host()
.
Databricks workspace token, defaults to calling db_token()
.
If TRUE
(default) the request is performed, if
FALSE
the httr2 request is returned without being performed.
Retrieve a list of events about the activity of a cluster. You can retrieve events from active clusters (running, pending, or reconfiguring) and terminated clusters within 30 days of their last termination. This API is paginated. If there are more events to read, the response includes all the parameters necessary to request the next page of events.
Other Clusters API:
db_cluster_create()
,
db_cluster_edit()
,
db_cluster_get()
,
db_cluster_list()
,
db_cluster_list_node_types()
,
db_cluster_list_zones()
,
db_cluster_perm_delete()
,
db_cluster_pin()
,
db_cluster_resize()
,
db_cluster_restart()
,
db_cluster_runtime_versions()
,
db_cluster_start()
,
db_cluster_terminate()
,
db_cluster_unpin()
,
get_and_start_cluster()
,
get_latest_dbr()