Log Logic Apps at Scale
Section titled “ Log Logic Apps at Scale”At a few thousand runs a day, the Azure Logic Apps Agent can log every Action and nobody notices. At hundreds of millions of Action invocations a day, logging everything breaks down: the agent gets HTTP 429 Too Many Requests from Azure, Log Events arrive late or not at all, and the run history in the Azure portal becomes too slow to use. None of this is a Nodinite setting you can turn up. It's how Azure Logic Apps stores and serves run data, and the limits Azure puts on it.
This page explains the architecture behind it, and what partners and customers can change. For the comparison of logging options, see About Logic Apps Logging options; for the filter settings themselves, see Configuration - Logging.
- ✅ The two data paths, and why only one of them is expensive
- ✅ Where HTTP 429 comes from, and how to tell the limits apart
- ✅ The Nodinite side: SQL Server disks for high volumes
- ✅ The alternative: log from the workflow with an Azure Function, without diagnostics
- ✅ Filter by name: a naming policy, applied to workflow code with AI
- ✅ Store less in Azure, and spread the load over subscriptions and storage accounts
- ✅ The limits nobody can overcome
Understanding the two data paths
Section titled “ Understanding the two data paths”Every stateful Logic Apps run writes the inputs and outputs of every Action to its run history in Azure Storage, whether Nodinite is installed or not. The agent then works with two separate data paths:
Path 1 (green) is a stream of small diagnostic events and is cheap. Path 2 (yellow) reads the run history through the Azure REST API for every Action the agent logs. The Azure portal reads the same run history through the same API.
| Component | Side | Role | Limits set by |
|---|---|---|---|
| Run history storage | Azure | Holds the inputs and outputs of every Action of every stateful run, for the run history retention | Consumption: Microsoft. Standard: your own storage account(s) |
Diagnostic setting (WorkflowRuntime) |
Azure, set up by you | Sends one small event per trigger, run and Action to the Event Hub; no payloads | Azure; see Enable Logic Apps Logging in Azure |
| Event Hub | Azure, owned by you | Buffers the diagnostic events for the agent | You: throughput units and partitions; see Configuration - Event Hubs |
| Logic Apps Agent | Nodinite | Reads the Event Hub, matches each Action against your Logging filters, and fetches the payloads of the matching Actions | Your filters decide how many payloads it fetches |
| Azure REST API | Azure | Serves run and Action details and their inputs and outputs, to the agent and to the Azure portal | Azure Resource Manager and the Logic Apps resource provider |
| Log API | Nodinite | Stores the Log Events in the Log Databases | Your Nodinite installation |
| Path 1: diagnostic event (Azure to Event Hub) | Path 2: payload fetch (agent to Azure REST API) | |
|---|---|---|
| What it carries | Workflow, run id, Action name, status, times, tracked properties | The input and output bodies of one Action |
| Cost per event | ✅ A few KB in the Event Hub, no API call | ⚠️ Reads through the Azure REST API, and from run history storage |
| Grows with | Runs × Actions | Runs × logged Actions |
| You control it with | Nothing: it always follows the workflow | The Logging filters |
Why "no filter" is the expensive default
Section titled “ Why "no filter" is the expensive default”With no Filter Configuration, every Action is a match: the agent logs all Actions of every run, up to Max Log Events for Actions per run (1,000 by default) and only the first repetition of a loop when Limit to 1st repetition is on. See Actions (Global). Every match is a payload fetch on path 2.
The same run, without and with a filter: without one, every Action is a REST read (yellow) and high volumes hit the limit (red); filtered on a name, three reads stay within the budget (green).
An illustrative sum, assuming one read per logged Action:
| Runs per day | Actions logged per run | Reads per day | Reads per second, on average |
|---|---|---|---|
| 100,000 | 20 (no filter) | 2,000,000 | ~23 |
| 1,000,000 | 20 (no filter) | 20,000,000 | ~231 |
| 1,000,000 | 3 (filtered) | 3,000,000 | ~35 |
Azure Resource Manager refills a subscription's read budget by 25 reads per second for each security principal (see below). The agent spreads its calls over a pool of App Registrations, each with its own budget, but all of them share the subscription's global limit of 15 times that. The unfiltered million runs need about nine principal budgets, all day, before the Azure portal and your deployment pipelines take their share. The same sum with three logged Actions per run is within reach. Peaks are higher than the average.
Do the sum with your own numbers: open Statistics on a Resource Group or Subscription Resource. Per workflow, Total invocations is the number of Action invocations that logging without a filter would fetch, and Max invocations points out the runs with the most loops. See the Statistics table for every column.

The Statistics of a Resource Group in a demo environment: one row per workflow, with the invocation counts to put into the sum. Here a few runs give 9 and 15 invocations; at the volumes on this page, Total invocations runs into the millions a day.
Where HTTP 429 comes from
Section titled “ Where HTTP 429 comes from”Several Azure layers can answer 429 Too Many Requests. All four below are Azure's; Nodinite can't raise them. The most likely sources, with Microsoft's published numbers:
| Layer | Limit | Scope |
|---|---|---|
| Azure Resource Manager, subscription reads | A bucket of 250 reads, refilled with 25 per second | Per security principal (each App Registration in the agent's pool) and subscription, per region; plus a global subscription limit for all principals of 15 times that |
| Logic Apps resource provider | Throttles per region of the resource | Per subscription |
| Azure Storage account (Standard) | Up to 20,000 requests per second per account, 2,000 per partition | Per storage account |
| Logic Apps engine, Consumption | An action limit per 5-minute rolling interval, raised with high throughput mode | Per logic app |
pool of App Registrations"] --> roArm["fa:fa-cloud Azure Resource Manager
per principal and subscription"] roUser["fa:fa-user Azure portal user"] --> roArm roArm --> roRp["fa:fa-sitemap Logic Apps resource provider
per region"] roRp --> roStore["fa:fa-hard-drive Run history storage
per storage account"] roArm -.->|"429"| roAgent roRp -.->|"429"| roAgent roStore -.->|"slow or 429"| roRp style roArm fill:#FFD525 style roRp fill:#FFD525 style roStore fill:#FFD525
Every read passes three layers, each with its own limit (yellow). Any of them can answer 429; the agent and the Azure portal share the layers behind their own principal budget.
How to tell them apart:
- A 429 carries a Retry-After header: the number of seconds to wait. A request sent earlier isn't processed, and gets a new Retry-After.
- Azure Resource Manager returns x-ms-ratelimit-remaining-subscription-reads on reads. When it approaches 0, the subscription's read budget is spent. When it looks healthy and you still get 429, a resource provider or the storage behind it is the likely source.
- The limits belong to the identity that calls. The agent's calls and a user's calls in the Azure portal don't share a principal budget, but they share the global subscription limit and the same run history storage.
Why the Azure portal slows down too
Section titled “Why the Azure portal slows down too”The portal shows the run history through the same Azure REST API, from the same storage. When that storage is saturated by the workflows themselves and by the reads on top of them, everyone who reads it waits: the agent, the portal and your scripts. Lowering the logging volume, the run history retention and the load per storage account helps all three.
The Nodinite side: every logged payload is a SQL write
Section titled “ The Nodinite side: every logged payload is a SQL write”Every payload the agent fetches ends up in the Log Databases: the Logging Service writes and indexes it on SQL Server. At high volume, the bottleneck moves from Azure to the SQL Server disks, which Planning your Nodinite Solution sizes for normal volumes only. For Azure disk types, VM limits and what large loads need, see SQL Server Disks for High Log Volumes. The cheapest write is the payload you never log.
The alternative: log from the workflow with an Azure Function
Section titled “ The alternative: log from the workflow with an Azure Function”Diagnostics Logging learns about a run afterwards, from Azure. The workflow can also log for itself: where logging is required, it calls one shared Azure Function that writes a Nodinite JSON Log Event to a Service Bus queue, an Event Hub or a Blob container, and the Pickup Log Events Service reads it into Nodinite. That needs no diagnostic setting and makes no REST API reads, so it avoids both paths and their HTTP 429s. The run history still stores the message, as the input of the Function call. For the highest volumes, consider no workflow at all: Functions chained by queues store no run history. See Log Logic Apps with an Azure Function and its Functions and queues section.
Fix 1: log only what you name
Section titled “ Fix 1: log only what you name”The cheapest payload fetch is the one the agent never makes. Filter on Action names with one convention that every workflow follows, so the filter stays one line. Configuration - Logging proposes the name Logging; any fixed suffix or prefix works.
Two naming strategies: describe every shape, mark only what to log
Section titled “Two naming strategies: describe every shape, mark only what to log”Developers often follow a naming convention that puts the same prefix or suffix on every shape, such as the integration id. That is a good convention, but it is not a logging filter. The Nodinite include filter needs a second, separate strategy: a marker that only the shapes to log carry. If the shared suffix of every shape is also the include filter, every Action matches, and the filter logs exactly as much as no filter at all.
| Strategy A: naming convention | Strategy B: logging marker | |
|---|---|---|
| Purpose | Readable workflows, run history and Resources | Tell Nodinite which payloads to log |
| On which shapes | ✅ Every shape | ✅ Only the activation, the net result and the send |
| Example | INT001 Receive order, INT001 Check stock |
- Logging at the end: INT001 Receive order - Logging |
| In the include filter | ❌ Never | ✅ Only this, anchored: - Logging$ |
The same workflow twice. Filtered on the convention, every shape matches and every payload is fetched (red). Filtered on the marker, only the two marked shapes are logged (green); the rest are not (grey).
- ❌ Every shape ends with
- INT001, and the include filter isINT001: everything is logged. - ❌ Every shape ends with
_Logging, "because we want logging": everything is logged. - ❌ The filter
Logwithout an anchor: it also matchesLogin,Catalog lookupandBlog post. - ✅ The convention on every shape, the marker
- Loggingon three, and the filter- Logging$.
| Log this | Example Action name | Why |
|---|---|---|
| The activation: what came in | Receive order - Logging |
The message as it arrived |
| The net result of a transform | Map to ERP order - Logging |
What the workflow made of it |
| The outbound send or the response | Send to ERP - Logging |
What left the workflow |
| Failures | Use Failed runs settings | Failed runs have their own filter; see Configuration - Logging |
A workflow under the policy: the filter - Logging$ matches the activation, the net result and the send (green); the condition, the loop and the helper call (grey) are monitored but not logged.
Leave out the rest: loops and their iterations, conditions, variables, scopes, retries and helper HTTP calls. The run is still monitored; only their payloads stay in Azure. A matching Action filter is a RegEx, such as - Logging$. To log on business data instead, filter on Tracked Properties; an Actions filter and a Tracked Properties filter in the same entry must both match.
Apply the naming policy with AI
Section titled “Apply the naming policy with AI”Workflow definitions are JSON in source control, so an AI assistant with access to the code can apply the policy to hundreds of workflows in one change. Renaming an Action is more than a label: other Actions refer to it by name in runAfter, and in expressions such as body('Map_to_ERP_order'). The prompt has to say so, and the change has to be reviewed and deployed like any other code change.
Apply our logging naming policy to every workflow definition in this repository.Rename these Actions by adding the suffix " - Logging" (in the JSON key, "_-_Logging"):the trigger's first Action that receives the message, the last Compose or Transformthat produces the outgoing message, and every Action that sends to another system orreturns the response. Keep our existing naming convention; only add the suffix.Don't rename anything else, and report any other Action whose name alreadycontains "Logging", because our Nodinite filter would log it.Update every reference to a renamed Action: runAfter, and expressions such asbody(), outputs(), actions() and items(). Keep the workflow behaviour unchanged.List each renamed Action per workflow, and anything you weren't sure about.in source control"] --> roAi["fa:fa-wand-magic-sparkles AI renames Actions
and their references"] roAi --> roPr["fa:fa-magnifying-glass Review the change"] roPr --> roTest["fa:fa-flask Test"] roTest --> roDeploy["fa:fa-rocket Deploy"] roDeploy --> roFilter["fa:fa-filter Add the filter in Nodinite"] style roAi fill:#2678BD style roFilter fill:#93d16d
The rollout: the AI change (blue) goes through review, test and deployment like any code change, and the Nodinite filter (green) comes last.
Test the renamed workflows before you deploy them, and add the filter in Nodinite when they're live, not before: a filter on a name no workflow uses yet logs nothing.
Fix 2: store less in Azure
Section titled “ Fix 2: store less in Azure”Azure keeps every input and output of every stateful run for the run history retention, 90 days by default, whatever Nodinite logs. A shorter retention means less storage for every reader. Reduce Azure Logic Apps Run History Retention to Lower TCO shows how, per plan.
minutes, hours after an outage"] roFetch --> roKeep["fa:fa-hard-drive Kept for the operations team"] roKeep --> roEnd["fa:fa-trash-can Retention ends
run removed"] style roFetch fill:#93d16d style roKeep fill:#2678BD style roEnd fill:#c33d34
The retention must cover the agent's fetch, backlog included (green), and the time the operations team needs the run in Azure (blue). After it (red), the payload is gone.
Keep the retention longer than the time the agent needs to fetch the payloads, including a backlog after an outage: a run removed from the run history can't be logged any more.
Fix 3: spread the load
Section titled “ Fix 3: spread the load”| Lever | Where | What it spreads | Plan | Note |
|---|---|---|---|---|
| More Azure subscriptions | Azure, plus a Subscription configuration in Nodinite | Azure Resource Manager read budgets and global subscription limits | Both | Also gives a clearer cost picture per business area; add each as a Subscription configuration |
| A pool of App Registrations | Azure (Entra ID), set in Nodinite | The per-principal read budget: the agent spreads its Azure REST API calls over the pool | Both | Each App Registration adds a budget, up to the global subscription limit (15 per subscription); each needs the same roles, see Azure Access and Roles |
| More storage accounts | Azure | Run history storage requests | Standard | A Standard logic app can spread its run history over several storage accounts, or use SQL as storage provider; see Microsoft's guidance below |
| More logic app resources | Azure | Run history storage and engine limits | Both | Each Standard logic app has its own storage; each Consumption logic app its own action limits |
| Event Hub partitions and one agent per region | Azure and Nodinite | Diagnostic stream reading | Both | See Configuration - Event Hubs and Enable Logic Apps Logging in Azure |
Before, Orders and Finance share one subscription: one read budget and, on Standard, one storage account (yellow). After, each has its own subscription A or B, with its own budget and storage account (green), and one agent still reads them all.
For Consumption, the run history storage is managed by Microsoft. More subscriptions give more Azure Resource Manager budget, but Microsoft doesn't publish a storage limit per subscription, so don't count on more storage capacity from them.
The limits nobody can overcome
Section titled “ The limits nobody can overcome”| Limit | Set by | Why it holds |
|---|---|---|
| Azure stores every input and output of every stateful run | Azure | The engine needs it for the run history; only stateless workflows (Standard) skip it, and then nobody can read the payloads afterwards. Shorten it with the run history retention |
| Azure Resource Manager and resource provider throttling | Azure | Per principal, subscription and region; a pool of App Registrations helps up to the global subscription limit of 15 principal budgets, then only more subscriptions do |
| Storage account throughput | Azure | About 20,000 requests per second per account; more needs more accounts (Fix 3) |
| Diagnostic events arrive minutes after the run | Azure | Azure's diagnostic pipeline sets the delay; see Logging Logic Apps |
| A payload can only be fetched while the run is in the run history | Azure | After the retention, Azure has removed it |
| SQL Server disk throughput | Nodinite (your SQL Server) | Every logged payload is written and indexed; see The Nodinite side |
| Max Log Events for Actions per run | Nodinite | The agent's own cap, so one huge run can't flood the Log Databases; see Actions (Global) |
Checklist for high volume
Section titled “ Checklist for high volume”- The workflows with the highest volume log from the workflow with an Azure Function, or mark the shapes to log with a marker that the global Action filter matches
- The include filter matches only the logging marker, anchored, never the naming convention every shape carries
- Max Log Events for Actions and Limit to 1st repetition are set on purpose
- Workflows you don't need to log are excluded with the Workflow logging exclusion filter
- Run history retention is as short as the operations team and the agent's backlog allow
- The agent uses a pool of App Registrations, and high-volume workflows are spread over subscriptions and, on Standard, storage accounts
- The SQL Server disks are sized for the measured volume, not only the baseline
- The volume was measured in test first; see Plan Volume and Retention
Microsoft references
Section titled “ Microsoft references”- Understand how Azure Resource Manager throttles requests
- Limits and configuration reference for Azure Logic Apps
- Handle throttling problems (429) in Azure Logic Apps
- Scaling Logic App Standard for high throughput scenarios
- Set up SQL database storage for Standard workflows
Next Steps
Section titled “ Next Steps”- Configure Logging filters
- Reduce Azure Logic Apps Run History Retention to Lower TCO
- Configure Event Hubs