Blog Post

Azure Integration Services Blog
2 MIN READ

Extending Logic Apps App Insight integration with Azure Workbooks

RohithaH's avatar
RohithaH
Icon for Microsoft rankMicrosoft
Mar 31, 2023

With the improvements we made in Logic Apps integration with App insight, we streamlined how various types of Logic Apps associated events get emitted and ingested into Application Insights. This change also improved how they get mapped to existing application insight concepts such as requests, dependencies, and exceptions.  

Azure workbooks provides a flexible canvas for data analysis and the creation of rich visual reports within azure portal. Azure workbooks also replace Azure monitoring solutions which we had been using with Consumption Logic Apps to build visual dashboards on top of Log Analytics data from consumption Logic Apps.

In this blog post we are going to show how we can use Azure workbooks together with recent improvements to application insight integration to build similar rich and interactive dashboards for standard Logic Apps.

This sample workbook template can be used to create a dashboard that would allow querying and filtering runs based on status and client-request-id. The dashboards can be made interactive where a run can be selected to drill into associated actions and dependencies as well as to bring-up the Logic App monitoring view to show the full details of a run in a familiar view.

 

Deploying Workbook Template.

The sample template is published here, and we can deploy this workbook template from the azure portal:

 

Mapping Logic App to Workbook

Once deployed, we can create an instance of the workbook using the template by specifying the subscription, application insight and the logic app resource to be associated with the workbook

 

using the declared parameters. Please note that you need to have the App-Insight enabled for this logic app and have application insight v2 integration enabled.

 

Filtering Workflow Runs

Once you have created an instance of the template, the workflow name drop down will be populated with the list workflows that have emitted run start/end traces into the associated Application Insight resource. The status and client-tracking-id parameter fields can be used to filter the runs based on run status or client-tracking-id.

 

The first table will list all the runs matching the filtering criteria and the result is backed by a query that runs against the app-insight data. This table also leverages the workbook custom-link feature to provide a view link to bring-up the monitoring view and also enable you to resubmit a selected run.

 

Actions, Dependencies and Exceptions

 

The second table shows the list of action requests associated with the selected run from the first table and third table will list the associated dependencies if any.

 

Customize Workbook

The data listed in this workbook is retrieved using Kusto queries and you can extend and customize this workbook to fit into your needs by editing the underlying queries.

 

 

 

Published Mar 31, 2023
Version 1.0
  • prijeshramani's avatar
    prijeshramani
    Copper Contributor

    Hi Team,

    i did try to implement the templates for the standard logic apps which are in ASE.

    but what i found is, for me the workflow name is not coming up to be selected.

    i noticed that category - Workflow.Operations.Runs is not there in traces.

    is there anything has to be done apart from host file changes.

    Also, interesting thing to note is that, this works for the standard logic which is outside the ASE.

    So can you please check if there is something related to logic apps inside the ASE.

    KentWeareMSFT