Execute an Analytics query
Executes an Analytics query for data
get/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/query
Path parameters
subscriptionIdstring required
Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
resourceGroupNamestring required
The name of the resource group to get. The name is case insensitive.
workspaceNamestring required
Name of the Log Analytics workspace.
Query parameters
querystring required
The Analytics query. Learn more about the Analytics query syntax
timespanstring duration
Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.
apiVersionstring required
Client API version.
Response
OK. The API call succeeded and the Analytics query result is in the response payload