Azure Log Analytics · Arazzo Workflow
Azure Log Analytics Resolve Workspace by Resource Group and Run KQL
Version 1.0.0
Narrow workspaces to a resource group, resolve one, then run a KQL query.
Provider
Workflows
resolve-workspace-and-run-kql
List resource-group workspaces, resolve one, and execute a KQL query.
Lists the Log Analytics workspaces in a resource group, reads the management record for the chosen workspace to obtain its customer (workspace) ID, and submits a KQL query to the Log Analytics query endpoint for that workspace.
1
listWorkspacesByResourceGroup
listWorkspacesByResourceGroup
List the Log Analytics workspaces within the resource group so the target workspace can be confirmed before resolving it.
2
getWorkspace
getWorkspace
Read the management record for the chosen workspace to obtain its customer (workspace) ID.
3
runQuery
postQuery
Execute the KQL query against the resolved workspace and return the tabular results.
Source API Descriptions
openapi