Use this connector to query your Azure Monitor Logs across Log Analytics workspace and Application Insights component, to list or visualize results.
Status: Production |
Tier: Premium |
Version: 3.0.0 |
Name |
Summary |
List subscriptions |
|
List resource groups |
|
ListResources (string subscriptions, string resourcegroups, string resourcetype) |
List resources |
List time range types |
|
Run query and list results |
|
Get query schema |
|
Run query and visualize results |
Name |
Summary |
Name |
Summary |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: List subscriptions
Description: Gets a list of all the subscriptions to which the principal has access.
Syntax:
AzureMonitorLogs.ListSubscriptions ()
Returns:
Description: Subscription list operation response.
Summary: List resource groups
Description: Lists all the resource groups within the subscription.
Syntax:
AzureMonitorLogs.ListResourceGroups (string subscriptions)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
subscriptions |
string (Subscription) |
Select subscription |
True |
Returns:
Description: List of resource groups.
Summary: List resources
Description: Lists all the resource groups within the resource group.
Syntax:
AzureMonitorLogs.ListResources (string subscriptions, string resourcegroups, string resourcetype)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
subscriptions |
string (Subscription) |
Select subscription |
True |
|
resourcegroups |
string (Resource Group) |
Select resource group |
True |
|
resourcetype |
string (Resource Type)Values: [Log Analytics Workspace, Application Insights] |
Select Resource Type |
True |
Returns:
Description: List of resource items.
Summary: List time range types
Description: Gets a list of time range types.
Syntax:
AzureMonitorLogs.ListTimeRangeTypes (string resourcetype, string query)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
resourcetype |
string (Resource Type)Values: [Log Analytics Workspace, Application Insights] |
Select Resource Type |
True |
|
query |
string
|
|
True |
Returns:
Type:TimeRangeListResult
Description: List of time range types.
Summary: Run query and list results
Description: Returns each row as its own object. Use this action when you want to work with each row separately in the rest of the workflow.
Syntax:
AzureMonitorLogs.QueryData (string subscriptions, string resourcegroups, string resourcetype, string resourcename, string query, string timerange)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
subscriptions |
string (Subscription) |
Select subscription |
True |
|
resourcegroups |
string (Resource Group) |
Select resource group |
True |
|
resourcetype |
string (Resource Type)Values: [Log Analytics Workspace, Application Insights] |
Select Resource Type |
True |
|
resourcename |
string (Resource Name) |
Select Resource |
True |
|
query |
string
|
|
True |
|
timerange |
string (Time Range) |
Select Time Range |
True |
Returns:
Type:Table
Summary: Get query schema
Description: Gets the schema for a specific query.
Syntax:
AzureMonitorLogs.QuerySchema (string subscriptions, string resourcegroups, string resourcetype, string resourcename, string query, string timerange)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
subscriptions |
string (Subscription) |
Select subscription |
True |
|
resourcegroups |
string (Resource Group) |
Select resource group |
True |
|
resourcetype |
string (Resource Type)Values: [Log Analytics Workspace, Application Insights] |
Select Resource Type |
True |
|
resourcename |
string (Resource Name) |
Select Resource |
True |
|
query |
string
|
|
True |
|
timerange |
string (Time Range) |
Select Time Range |
True |
Returns:
Type:Object
Summary: Run query and visualize results
Description: Returns all rows in the result set as a single formatted object. Use this action when you want to use the result set together in the rest of the workflow.
Syntax:
AzureMonitorLogs.VisualizeQuery (string subscriptions, string resourcegroups, string resourcetype, string resourcename, string query, string timerange, string visType)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
subscriptions |
string (Subscription) |
Select subscription |
True |
|
resourcegroups |
string (Resource Group) |
Select resource group |
True |
|
resourcetype |
string (Resource Type)Values: [Log Analytics Workspace, Application Insights] |
Select Resource Type |
True |
|
resourcename |
string (Resource Name) |
Select Resource |
True |
|
query |
string
|
|
True |
|
timerange |
string (Time Range) |
Select Time Range |
True |
|
visType |
string (Chart Type)Values: [Html Table, Pie Chart, Time Chart, Bar Chart] |
Specify the resulting chart type |
True |
Returns:
Type:VisualizeResults
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description: Resource group information.
Properties:
Name |
Type |
Summary |
id |
string Id |
The ID of the resource group (e.g. /subscriptions/XXX/resourceGroups/YYY). |
name |
string Name |
The Name of the resource group. |
Summary:
Description: List of resource groups.
Properties:
Name |
Type |
Summary |
value |
array of (ResourceGroup)
|
The list of resource groups. |
nextLink |
string Next Link |
The URL to get the next set of results. |
Summary:
Description: Resource item.
Properties:
Name |
Type |
Summary |
id |
string Id |
The ID of the resource. |
name |
string Name |
The Name of the resource . |
Summary:
Description: List of resource items.
Properties:
Name |
Type |
Summary |
value |
array of (ResourceItem)
|
The list of resource items. |
nextLink |
string Next Link |
The URL to get the next set of results. |
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description: Subscription information.
Properties:
Name |
Type |
Summary |
id |
string Id |
The fully qualified Id. For example, /subscriptions/00000000-0000-0000-0000-000000000000. |
subscriptionId |
string Subscription Id. |
The subscription Id. |
authorizationSource |
string Authorization Source |
The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'. |
Summary:
Description: Subscription list operation response.
Properties:
Name |
Type |
Summary |
value |
array of (Subscription)
|
The subscriptions . |
nextLink |
string Next Link |
The URL to get the next set of results. |
Summary:
Description:
Properties:
Name |
Type |
Summary |
value |
array of (Row)
|
|
Summary:
Description: Time range item.
Properties:
Name |
Type |
Summary |
id |
string Id |
The ID of the item. |
name |
string Name |
The Name of the item. |
Summary:
Description: List of time range types.
Properties:
Name |
Type |
Summary |
value |
array of (TimeRangeItem)
|
The list of time range. |
nextLink |
string Next Link |
The URL to get the next set of results. |
Summary:
Description:
Properties:
Name |
Type |
Summary |
body |
string(byte) Body |
|
attachmentContent |
string(byte) Attachment Content |
|
attachmentName |
string Attachment Name |
|