Microsoft Azure Data Explorer v2
Query Azure Data Explorer and stream data into it
Runs KQL queries and management commands, inspects tables and streams inline data into an Azure Data Explorer cluster, with a pass-through to any cluster REST endpoint.
microsoft-adx-v2_3.1.3.tgz
Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Connector for Microsoft Azure Data Explorer (Kusto). It runs KQL queries and management commands, lists databases and tables, reads a table's schema, streams inline data into a table through the streaming ingestion endpoint, and sends any cluster REST request through execute_api_request with the connector's own token. Authentication is a Microsoft Entra ID app registration (client credentials). The app needs Database Viewer on the databases a playbook reads and Database Ingestor on the databases it streams into; streaming ingestion must be enabled on the cluster, the database and the table. Two hidden dropdown operations fill the database and table pickers.
Live-tested on FortiSOAR 8.0.1 against an Azure Data Explorer Dev cluster: all 10 operations ran, and the success and error mocks are captured from that run.
Not live-tested
- The 429 status is synthetic: Kusto throttling cannot be provoked on demand.
- Ingest Inline Data supports the CSV, JSON, MULTILINEJSON, TSV, SCSV, SOHSV and TXT formats; Parquet, Avro and ORC need binary payloads and are not offered.
Permissions
Microsoft Entra ID app registration (client credentials) with Viewer on the database for the read operations and Ingestor for Ingest Inline Data.
Configuration · 8 fields
- Cluster URL
cluster_urltext requiredHTTPS URL of the Azure Data Explorer cluster, for example https://mycluster.francecentral.kusto.windows.net.
- Tenant ID
tenant_idtext requiredMicrosoft Entra ID tenant (directory) ID the app registration lives in.
- Client ID
client_idtext requiredApplication (client) ID of the Entra ID app registration used for authentication.
- Client Secret
client_secretpassword requiredClient secret of the app registration. Grant only the databases your playbooks use; Database User is enough for queries and streaming ingestion.
- Default Database
default_databasetext(Optional) Database used by operations that omit the database parameter.
- Authority Host
authority_hosttext(Optional) Microsoft Entra ID authority host. Leave empty for the global cloud (https://login.microsoftonline.com); sovereign clouds set their own, for example https://login.microsoftonline.us.
- Verify SSL
verify_sslcheckboxSpecifies whether the SSL certificate of the cluster is to be verified. Uncheck for self-signed certificates (private clusters).
Default
true - Request Timeout (seconds)
timeouttextPer-request timeout in seconds applied to every Kusto HTTP call.
Default
30
Operations · 10
Health Check
health_checkhealth_checkVerify connectivity: acquire an access token for the cluster and run the trivial query print One=1.
No parameters.
ReturnstypepropertiesExecute KQL Query 3 params
execute_queryexecute_queryRun a KQL query against the cluster (POST /v1/rest/query). Returns every result table with columns, rows and records, plus the first result table as primary for direct consumption in playbooks.
- Query (KQL)
querytextarea requiredKQL query to run, for example AlertsRaw | take 10.
- Database
databaseselect(Optional) Database to run against. Pick from the list or enter a name. Empty uses the configured default database.
- Request Properties (JSON)
request_propertiesjson(Optional) Kusto request properties, for example {"Options": {"queryconsistency": "strongconsistency"}, "timeout": "00:01:00"}.
ReturnstypepropertiesExecute Management Command 3 params
execute_management_commandexecute_management_commandRun a Kusto management (control) command such as .show, .create or .alter against the cluster (POST /v1/rest/mgmt). Result parsing is the same as Execute KQL Query.
- Command
commandtextarea requiredManagement command (csl), for example .show tables or .show table AlertsRaw cslschema.
- Database
databaseselect(Optional) Database to run against. Pick from the list or enter a name. Empty uses the configured default database.
- Request Properties (JSON)
request_propertiesjson(Optional) Kusto request properties.
ReturnstypepropertiesIngest Inline Data 5 params
ingest_inlineingest_inlineStream inline text data into a table (POST /v1/rest/ingest/{database}/{table}, the streaming endpoint). The data travels in the request body, so this suits playbook-sized batches; use queued ingestion for bulk loads. Streaming ingestion must be enabled on the cluster. Returns the ingestion status.
- Database
databaseselect(Optional) Database to run against. Pick from the list or enter a name. Empty uses the configured default database.
- Table
tableselect requiredDestination table. Lists the tables of the database selected above; the table must already exist.
- Data
datatextarea requiredInline data to ingest, in the format chosen above (at most a few MB; larger data belongs in blob ingestion).
- Data Format
data_formatselectFormat of the data. Default CSV.
Default
CSVOptions CSVJSONMULTILINEJSONTSVSCSVSOHSVTXT - Mapping Name
mapping_nametext(Optional) Pre-created ingestion mapping reference on the table.
ReturnstypepropertiesList Databases
list_databaseslist_databasesList the databases the app can see on the cluster (.show databases).
No parameters.
ReturnstypepropertiesList Tables 2 params
list_tableslist_tablesList the tables of a database (.show tables), optionally only one named table.
- Database
databaseselect(Optional) Database to run against. Pick from the list or enter a name. Empty uses the configured default database.
- Table
tabletext(Optional) Show only this table (.show tables (<name>)). Leave empty to list every table.
ReturnstypepropertiesGet Table Schema 2 params
get_table_schemaget_table_schemaGet a table's columns and their types, from `['table'] | getschema` on the query endpoint (the database selected in the form, or the configured default).
- Table
tableselect requiredTable to describe. Lists the tables of the database selected above.
- Database
databaseselect(Optional) Database to run against. Pick from the list or enter a name. Empty uses the configured default database.
ReturnstypepropertiesExecute API Request 5 params
execute_api_requestexecute_api_requestCalls any REST endpoint on the configured cluster with the connector's access token, for example /v1/rest/query, /v1/rest/mgmt or /v1/admin/... A full URL is refused so the token only ever goes to the configured cluster. Kusto table responses are parsed like the dedicated operations.
- Endpoint
endpointtext requiredPath on the cluster, for example /v1/rest/query or /v1/rest/mgmt.
- Method
methodselectHTTP method. Defaults to GET.
Default
GETOptions GETPOSTPUTPATCHDELETE - Query Parameters
query_paramsjson(Optional) JSON object of query string parameters, for example {"csl": "print 1", "db": "Samples"}.
- Request Body
request_bodyjson(Optional) JSON body sent with POST, PUT and PATCH.
- Extra Headers
extra_headersjson(Optional) JSON object of extra request headers, for example {"x-ms-app": "FortiSOAR"}.
ReturnstypepropertiesGet Database Options
get_database_optionsget_database_optionsPopulates the Database dropdowns with the databases the app can see on the cluster (at most 200). Hidden from the palette.
No parameters.
ReturnstypeitemsGet Table Options
get_table_optionsget_table_optionsPopulates the Table dropdowns with the tables of the database chosen in the form (at most 200, sorted). Hidden from the palette.
No parameters.
Returnstypeitems