Azure Log Analytics · Arazzo Workflow
Azure Log Analytics Discover and Query Workspace
Version 1.0.0
Find a workspace in a subscription, confirm it, then run a KQL query against it.
Provider
Workflows
discover-and-query-workspace
List subscription workspaces, resolve one, and run a KQL query against it.
Lists every Log Analytics workspace in a subscription, 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
listWorkspaces
listWorkspaces
List all Log Analytics workspaces in the subscription to confirm the target workspace is present before resolving it.
2
getWorkspace
getWorkspace
Read the management record for the chosen workspace to obtain its customer (workspace) ID and provisioning state.
3
runQuery
postQuery
Execute the KQL query against the resolved workspace using the Log Analytics query endpoint and return the tabular results.
Source API Descriptions
openapi