Skip to content
Documentation
Updated 3 minutes to read
Markdown

Monitoring needs only the Azure REST API, but Logging Logic Apps and failed-run monitoring need Azure to stream each run's events to the Nodinite Azure Logic Apps Logging and Monitoring Agent. That stream is three pieces you set up in Azure: a Diagnostic setting on every Logic App, an Event Hub that carries the events, and a Storage Container where the agent keeps its read position. Get them right once, and every new Logic App only needs its Diagnostic setting. This page is part of the Prerequisites; the roles the agent needs on these resources are in Azure Access and Roles.

To log to Nodinite from your Logic Apps, set up the following in the Azure portal, or script it with the ARM Template in your build and deployment process.

  • Diagnostic setting on each Logic App (see Supported Logic App types for where), with the WorkflowRuntime log category and an Event Hub as destination. Leave AllMetrics disabled.
  • Event Hub that receives the diagnostics. The agent can read many Event Hubs at the same time.
  • Storage Container for the checkpoint, the agent's read position in the Event Hub stream. Event Hubs only support client-side checkpointing.

The Event Hub is the destination of the Logic Apps Diagnostic settings. Match every Event Hub that a Diagnostic setting sends to with an entry in the agent's Event Hubs tab.

  • Use one or more dedicated Event Hubs for Logic Apps diagnostics.
  • The Event Hub must be in the same region as the Logic Apps that send to it (Microsoft: Diagnostic settings destinations).
  • The Event Hub can be in a different subscription than your Logic Apps; map it in Configure Event Hubs.
  • Keep the number of Event Hubs small: many Diagnostic settings can share one Event Hub.
  • Use at least 2 partitions.
  • Set the retention to cover your longest expected agent outage; Configure Event Hubs covers tiers and cost.

Azure Event Hub Entity
Example of an Azure Event Hub entity used for Azure Logic Apps Logging.

Event Hub Details
Details about the Azure Event Hub entity.

Event Hub Properties
The Event Hub properties show that data arrives regularly.

Logic Apps diagnostics need their own Event Hubs:

graph LR subgraph "Integration solution" C["Azure Function
with Serilog Logging"] --- C1("Serilog Event Hub Sink") A["Azure API Management Service API
with Policy"] --- A1("Policy") B["Azure Logic App
with the diagnostic setting"] end subgraph "Event Hub" A1 -->|"1. Nodinite JSON Log Event"| AA("EH1") C1 -->|"1. Nodinite JSON Log Event"| AA C1 -.- CC("EH2") B -->|"2. Azure Diagnostics log"| BB("EH3") end

Diagram: (1) Logging from Azure Functions and API Management can share an Event Hub when the content is a Nodinite JSON Log Event, read by the Pickup Log Events Service Logging Agent. (2) Logic Apps diagnostics use another format and need their own Event Hubs.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...