Azure Logic Apps (Standard) offers an integration with Azure Monitor Logs to monitor workflow executions. This article shows you how to configure Azure Logic Apps to send system-generated logs to Azure Monitor Logs by using the Diagnostic Settings configuration.
Diagnostic Settings can now be enabled in Azure Logic Apps (Standard) and allows you to emit telemetry to Azure Monitor and other services such as Azure Event Hubs.
To enable Diagnostic Settings:
Note: Optionally, you can also select Function Application Logs for some additional telemetry including Host.Startup, Host.Bindings and Host.LanguageWorkerConfig events. To learn more about Azure Function Application Logs, please refer to the following documentation.
With our Diagnostics Settings now configured, Azure Logic Apps (Standard) will emit telemetry to Log Analytics.
For the completed events we will see an EndTime published which will allow us to determine the duration between the start event and the complete event.
Azure Logic Apps includes two capabilities that allow you to inject custom properties into the telemetry that is emitted:
When a workflow contains either Custom Tracking Ids or Tracked Properties, these values will be available in our Log Analytics Workspace.
LogicAppWorkflowRuntime
| where RunId == "08585258189921908774209033046CU00"
LogicAppWorkflowRuntime
| where Error != ""
| sort by StartTime desc
LogicAppWorkflowRuntime
| where RetryHistory != ""
| sort by StartTime desc
For additional information, please see the following YouTube video or refer to our in-product documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.