Manage language extensions in your Azure Data Explorer cluster (Preview)
The language extensions feature allows you to use language extension plugins to integrate other languages into your Azure Data Explorer KQL queries. When you run a user-defined-function (UDF) using a relevant script, the script gets tabular data as its input and is expected to produce tabular output. The plugin's runtime is hosted in a sandbox, an isolated and secure environment, running on the cluster's nodes. In this article, you manage the language extensions plugin in your Azure Data Explorer cluster within the Azure portal.
Note
Azure Data Explorer language extensions that are currently supported are Python and R.
Prerequisites
- An Azure subscription. Create a free Azure account.
- Create a cluster and database.
Enable language extensions on your cluster
Warning
Please review the limitations prior to enabling a language extension.
Do the following steps to enable language extensions on your cluster:
In the Azure portal, go to your Azure Data Explorer cluster.
In Settings, select Configurations.
In the Configurations pane, select On to enable a language extension.
Select Save.

Note
Enabling the language extension process can take up to a few minutes. During that time, your cluster may be unavailable.
Run language extension-integrated queries
- Learn how to run Python integrated KQL queries.
- Learn how to run R integrated KQL queries.
Disable language extensions on your cluster
Note
Disabling language extensions could take a few minutes.
Do the following steps to disable language extensions on your cluster:
In the Azure portal, go to your Azure Data Explorer cluster.
In Settings, select Configurations.
In the Configurations pane, select Off to disable a language extension.
Select Save.

Limitations
- The language extensions feature supports Disk encryption only for VM sizes that support both sandboxes and encryption features. For more detailed limitations, see sandboxes.
- The language extensions runtime sandbox allocates disk space even if no query runs in the scope of the relevant language. For more detailed limitations, see sandboxes.