Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Configure automatic stop of inactive Azure Data Explorer clusters
Azure Data Explorer clusters that are inactive for a specified time interval stop automatically. Inactivity means clusters with no data ingestion or queries in the past 5 days. The interval is fixed at 5 days and can't be changed.
Cluster behavior doesn't resume automatically. Restart the cluster manually.
Note
The following cluster types aren't stopped automatically:
- Leader clusters. For more information, see follower databases.
- Clusters deployed in a Virtual Network
- Start-for-free clusters
- Clusters where the Auto-Stop setting is turned off
Manage automatic stop behavior on your cluster
Azure Data Explorer clusters are created by default with the cluster property enableAutoStop = true. You can set or change this property during or after cluster creation.
Learn more in Azure Data Explorer cluster request body.
Configure auto-stop while creating a new cluster
- In the Azure portal, follow the steps in create an Azure Data Explorer cluster and database.
- In the Configurations tab, select Auto-Stop cluster > On.
👁 Screenshot of auto-stop configuration.
Modify settings on an existing cluster
To enable or disable Auto-Stop cluster after the cluster is created:
- Sign in to the Azure portal.
- Go to your Azure Data Explorer cluster.
- In Settings, select Configurations.
- In the Configurations pane, select On or Off to enable or disable Auto-Stop cluster.
- Select Save.
👁 Screenshot of auto-stop configuration in the Azure portal.
Verify auto-stop using the activity log
When a cluster is automatically stopped, an Activity log is sent. To verify when and how the cluster was stopped, use the following steps:
- Sign into the Azure portal.
- Browse to Azure Data Explorer cluster.
- In the left pane, select Activity log.
- Select a timespan.
- Under Operation name, find Stop Clusters.
👁 Screenshot of the activity log.
Examples
REST example
Update the cluster with this operation:
PATCH https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorgtest/providers/Microsoft.Kusto/clusters/kustoclustertest?api-version=2021-08-27
Request body to disable auto-stop
{
"properties": {
"enableAutoStop": false
}
}
Request body to enable auto-stop
{
"properties": {
"enableAutoStop": true
}
}
Feedback
Was this page helpful?
