Azure Logic App
Azure Logic App is a cloud platform where you can create and run automated workflows with little to no code. This integration helps in monitoring logic app workflow's run status, trigger history, run history, and performance. It also helps in tracking successful delivery or receipt, errors, and properties for business-to-business (B2B) messages.
Log and metric types
For Azure Logic App, you can collect the following logs and metrics:
- Workflow runtime diagnostic events. To learn more about the different resource log category types and schemas collected for the Azure Logic App, refer to the Azure documentation.
- Integration Account track events. To learn more about the different tracking schemas for integration accounts, refer to the Azure documentation.
- Logic App Workflow Metrics. These metrics are available in Microsoft.Logic/Workflows namespace.
- Integration Account Metrics. These metrics are available in Microsoft.Logic/IntegrationServiceEnvironments namespace.
For more information on supported metrics and their units, refer to the Azure documentation.
Setup
Configure collector
Create a hosted collector if not already configured. Make sure you create the required sources in this collector.
Configure logs collection
Azure service sends monitoring data to Azure Monitor, which can then stream data to Eventhub. Sumo Logic supports collecting logs from Azure Monitor using our Azure Event Hubs source.
You must explicitly enable diagnostic settings for each Logic App and integration account you want to monitor. You can forward logs to the same event hub provided they satisfy the limitations and permissions as described here.
When you configure the event hubs source, plan your source category to ease the querying process. A hierarchical approach allows you to make use of wildcards. For example: Azure/LogicApp/Logs. The setup instructions below apply to both Consumption and Standard plan-based Logic Apps.
In this section, you will configure a pipeline for shipping diagnostic logs from Azure Monitor to an Event Hub.
- To set up the Azure Event Hubs source in Sumo Logic, refer to Azure Event Hubs Source for Logs.
- To create the Diagnostic settings in the Azure portal, refer to the Azure documentation for Logic App resource and this documentation for integration accounts. Perform the steps below for each Logic App that you want to monitor.
- Choose
Stream to an event hubas the destination. - Select
allLogsfor the Logic App orIntegrationAccountTrackingEventsfor the integration account. - Use the Event hub namespace and Event hub name configured in the previous step in the destination details section. You can use the default policy
RootManageSharedAccessKeyas the policy name.
- Choose
Configure metrics collection
When you configure the Azure Metrics Source, plan your source category to ease the querying process. A hierarchical approach allows you to make use of wildcards. For example: Azure/LogicApp/Metrics.
To set up the Azure Metrics source in Sumo Logic, refer to Azure Metrics Source.
Troubleshooting
Metrics collection via Azure Metrics Source
To troubleshoot metrics collection via Azure Metrics Source, follow the instructions in Troubleshooting Azure Metrics Source.