Share via

How would I send Azure logic app diagnostics to React frontend

Eqnx 0 Reputation points
2024-10-28T07:00:27.5166667+00:00

I have a logic App that runs every time I receive an email. Is there a way to send the identifier, status, time, and duration of each run to my frontend? I have tried archiving to a storage account in the diagnostic setting under monitoring for my logic app. Is this the correct approach and then use a connection string to my container?

Azure Logic Apps
Azure Logic Apps

An Azure service that automates the access and use of data across clouds without writing code.

{count} votes

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 17,866 Reputation points Moderator
    2024-10-28T14:44:39.8966667+00:00

    Hi @Eqnx Greetings! Welcome to Microsoft Q&A forum. Thank you for posting this question here.

    Is this the correct approach

    Yes, Azure logic apps does not have a mechanism to push this information from the Workflow to your react application. You would have to Enable log analytics on your Logic app and collect the workflow runtime diagnostic events from the Diagnostic setting to capture this information.

    You would basically route the events to one of the following supported end points, Log Analytics workspace, Azure storage account, Azure event hub and read from the endpoint through your client.

    If you have a Log Analytics workspace to capture the events, instead of creating atorage account, you can route the events to the analytics workspace. You can then leverage Azure Monitor Query client library for JavaScript - version 1.3.1 to query the logs from your front-end application. Refer the sample Resource-centric logs query which provides a sample code to query the logs generated by a specific Azure resource.

    Hope this helps! Please let us know if you have any additional questions.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.