Skip to content
Documentation
Updated 13 minutes to read
Markdown

Discover the best logging approach for your Azure Logic Apps integration scenarios. This guide compares Azure native options (Application Insights, Azure Monitor) with Nodinite approaches (Diagnostics Logging, Custom Logging)—helping you choose the right strategy for visibility, compliance, troubleshooting, and operational control.

Both Nodinite options end up as Log Events in the same Log Databases, searchable in Log Views with Search Fields. The Azure Logic Apps Logging and Monitoring Agent handles Diagnostics Logging (see Logging Logic Apps), while the Pickup Log Events Service handles Custom Logging.

Comparison: Azure Native vs Nodinite Logging

Section titled “Comparison: Azure Native vs Nodinite Logging”
Feature Application Insights Azure Monitor Logs Nodinite Diagnostics Logging Nodinite Custom Logging
Cost 💰 Pay per GB ingested 💰 Pay per GB ingested + workspace ✅ Included with Nodinite license ✅ Included with Nodinite license
Setup Effort ⚠️ Configure per Logic App ⚠️ Configure diagnostic settings ✅ Enable diagnostics once (or with an ARM Template), agent auto-discovers ⚠️ Add logging code to workflows
Payload Logging ❌ Metadata only (tracked properties) ❌ Metadata only ✅ Full payloads via regex Logging filters ✅ Full payloads with total control
Tracked Properties ✅ Must define upfront ✅ Must define upfront ✅ Captured automatically ✅ Captured with code
Search by Business Data ⚠️ Only predefined tracked properties ⚠️ Only predefined tracked properties ✅ Reindex historical data with new Search Fields ✅ Reindex historical data with new Search Fields
Correlation Across Systems ❌ Logic Apps only ❌ Azure services only ✅ BizTalk, Databases, APIs, Files, MuleSoft, etc. ✅ BizTalk, Databases, APIs, Files, MuleSoft, etc.
Retention Flexibility ⚠️ 90 days default, expensive long-term ⚠️ Workspace retention limits ✅ Unlimited with Log Databases, configurable per Message Type ✅ Unlimited with Log Databases, configurable per Message Type
Reindexing Old Data ❌ Not possible ❌ Not possible ✅ Extract new Search Fields from historical logs ✅ Extract new Search Fields from historical logs
Compliance & Audit ⚠️ Limited payload access ⚠️ Limited payload access ✅ Full payload audit trails for GDPR, SOX, HIPAA ✅ Full payload audit trails for GDPR, SOX, HIPAA
Event Volume ⚠️ All events logged (noisy) ⚠️ All events logged (noisy) ⚠️ Every Action logged unless you filter; at high volume a filter is required (Log Logic Apps at Scale) ✅ Log only what matters
Multi-Subscription View ❌ Per subscription ❌ Per workspace ✅ Unified across unlimited subscriptions ✅ Unified across unlimited subscriptions
Business User Access ❌ Requires Azure Portal access ❌ Requires Azure Portal access ✅ Role-based Log Views without Azure credentials ✅ Role-based Log Views without Azure credentials
Monitoring Integration ❌ Separate from logging ❌ Separate from logging ✅ Same agent monitors + logs ✅ Same agent monitors + logs
Best For Azure-only shops with budget Centralized Azure logging Enterprise integration, compliance, audit High-value workflows, precise control

Reindexing: Extract Business Data from Historical Logs

Section titled “Reindexing: Extract Business Data from Historical Logs”

Application Insights and Azure Monitor require you to define tracked properties before logging. If you need to search by a new business identifier (e.g., "Invoice Number" not tracked initially), historical data is unsearchable.

Nodinite stores full payloads and can retroactively extract Search Fields:

  • Add new Search Field Expression for "Invoice Number"
  • Run a reindexing job on 6 months of historical logs
  • Search all past events by Invoice Number instantly

Unlimited Retention with Message Type Control

Section titled “Unlimited Retention with Message Type Control”

Azure native options charge per GB and have workspace limits. Nodinite Log Databases enable:

  • Message Type-based retention: Keep invoices 7 years, test messages 30 days
  • Unlimited storage at database costs (not per-event Azure pricing)
  • Archive and purge policies per compliance requirements

Azure Retention Can Be Reduced to Lower TCO

Section titled “Azure Retention Can Be Reduced to Lower TCO”

Azure Logic Apps diagnostic data is mainly lightweight telemetry. It tells us that a workflow started, failed, completed, or changed state. The payloads aren't in the diagnostic events: Azure keeps them in the workflow's run history, and the agent fetches the payloads of the Actions your filters match through the Azure REST API. That run history can become the main cost driver when customers keep the default Azure retention for too long.

This means the default Azure retention is often much longer than necessary for a telemetry-first Logic Apps design. A cost-efficient pattern is to keep Azure retention as a short operational replay window and use Nodinite as the long-term business archive.

This reduces total cost of ownership because:

  • Azure workflow run history and diagnostic retention increase with volume, partitions, and retention length
  • the workflow payload and activity metadata retained in Azure are more expensive than lightweight telemetry alone
  • long-term business retention is better handled in Nodinite with Message Type policies and database retention controls
  • the Azure side can be limited to a short troubleshooting window while Nodinite owns the long-term archive

For a dedicated guide to the actual Logic App retention setting, see Reduce Azure Logic Apps Run History Retention to Lower TCO. For the Event Hub and storage costs in the logging pipeline, see Azure Costs for Blob Storage and Event Hub.

The important distinction is that Logic App run-history retention is configured on the workflow itself, while Event Hub diagnostic retention is a separate setting on the Event Hub destination.

For Microsoft guidance, see:

This is a clear advantage over Azure-only storage strategies, where retention is managed in a more expensive and less flexible way, often requiring custom solutions for per-message-type retention and archive rules.

Application Insights tracks Logic Apps only. Nodinite correlates end-to-end:

Azure Portal requires IT/DevOps credentials. Nodinite Log Views enable:

  • Finance team searches invoices by amount, customer, date—no IT support
  • Operations troubleshoots failed orders without Azure Portal access
  • Support team downloads payloads for analysis with role-based permissions for Users in Roles

Option 1: Application Insights (Azure Native)

Section titled “Option 1: Application Insights (Azure Native)”

Azure Application Insights provides built-in telemetry and diagnostics for Logic Apps with minimal configuration.

  • ✅ Azure-only environment with no cross-platform integration needs
  • ✅ Budget allocated for per-GB Azure ingestion costs
  • ✅ Tracked properties defined upfront and won't change
  • ✅ Basic troubleshooting (not compliance audit trails)
  • ✅ Built into Azure—native integration with Azure Portal
  • ✅ Real-time dashboards—Application Insights analytics and visualizations
  • ✅ Automatic dependency tracking—maps Logic Apps calls to Azure services
  • ❌ Metadata only—tracked properties captured, but payloads not stored
  • ❌ Upfront definitions required—must define tracked properties before logging; cannot search historical data by new fields
  • ❌ Cost scales with volume—high-throughput Logic Apps generate expensive ingestion bills
  • ❌ Azure-only correlation—cannot track transactions spanning BizTalk, databases, MuleSoft, SAP
  • ❌ 90-day default retention—long-term retention expensive
  • ❌ No business user access—requires Azure Portal credentials

Enable Application Insights in Logic App settings → Configure tracked properties in workflow actions → Query via Azure Portal or Log Analytics.

Option 2: Azure Monitor Logs (Azure Native)

Section titled “Option 2: Azure Monitor Logs (Azure Native)”

Azure Monitor with Log Analytics workspace provides centralized logging across Azure services.

  • ✅ Centralized Azure logging strategy with existing Log Analytics workspace
  • ✅ Multi-service Azure environment (Function Apps, App Services, Logic Apps)
  • ✅ IT team has KQL (Kusto Query Language) expertise
  • ✅ Centralized Azure logging—consolidate Logic Apps with other Azure services
  • ✅ Powerful querying—KQL for complex log analysis
  • ✅ Alerting integration—Azure Monitor alerts and action groups (Nodinite uses Alarm Plugins for the same purpose)
  • ❌ Metadata only—tracked properties captured, payloads not stored
  • ❌ Cannot reindex—if you need to search by new business identifier, historical logs unsearchable
  • ❌ Workspace costs—per-GB ingestion + workspace retention fees
  • ❌ Azure-centric—difficult to correlate with non-Azure systems (BizTalk, on-premise databases)
  • ❌ IT-focused—business users cannot self-serve without Azure Portal access

Create Log Analytics workspace → Configure Logic Apps diagnostic settings → Send to workspace → Query via Log Analytics or Azure Monitor.

Nodinite's Diagnostics Logging provides plug-and-play logging for Logic Apps with full payload capture via regex-based Logging filters and auto-discovery. The agent reads the diagnostic events from an Event Hub and fetches the payloads from the Logic Apps run history.

  • ✅ Zero workflow changes—enable diagnostics without coding
  • ✅ Full audit trails—compliance and forensic analysis requiring complete payloads
  • ✅ Reindexing capability—extract new Search Fields from historical data
  • ✅ Cross-platform correlation—track transactions spanning Logic Apps, BizTalk, databases, MuleSoft
  • ✅ Business user self-service—finance, ops teams search by business identifiers without IT credentials

Great for IT-pros who want plug-and-play observability!

Using Azure Logic Apps built-in diagnostics with Nodinite's intelligent payload filtering provides full visibility without workflow modifications.

# Comment
✅ Built-in Logic Apps diagnostic settings enable verbose logging with simple configuration
✅ No coding required Zero changes to existing or future workflows—truly plug-and-play
✅ ARM Template support Re-use diagnostic settings across subscriptions via build/deploy pipelines; see ARM Template
✅ Full payloads Regex-based filters capture complete message bodies (not just metadata)
✅ Reindexing Extract new Search Fields from historical data retroactively (unique to Nodinite)
✅ Correlation support Group events for individual runs using the Application interchange id Search Field
✅ Cross-platform Correlate Logic Apps with BizTalk, databases, MuleSoft, SAP, custom APIs
✅ Unlimited retention Message Type-based retention control (e.g., invoices 7 years, test logs 30 days)

While Diagnostics Logging is powerful, consider these trade-offs:

# Comment
⚠️ Excessive logging potential Diagnostics creates 2 events per shape (in/out). Complex workflows with loops can generate 100K+ events per run—useful for troubleshooting, but consider filtering strategies
⚠️ Complex naming Nodinite auto-names Endpoints and Message Types. Use Context Options to override with business-friendly names
⚠️ Delayed ingestion Azure diagnostic data can be delayed 10-15 minutes (Azure Event Hub processing latency)
⚠️ All-or-nothing Diagnostics setting logs all actions—use Nodinite's regex Logging filters to capture only relevant payloads
⚠️ Azure API limits The agent fetches every logged Action from the run history through the Azure REST API. Without a filter, high volumes run into HTTP 429 throttling, and the Azure portal slows down too; see Log Logic Apps at Scale
  • ✅ Troubleshooting unknown failures—comprehensive event trail reveals exactly where workflows fail
  • ✅ Compliance audits—forensic analysis with full payloads, even for fields not initially tracked
  • ✅ Zero-touch auto-discovery—agent finds all Logic Apps across subscriptions automatically
  • ✅ Reindexing for new requirements—extract "Invoice Number" from 6 months of historical payloads retroactively

Follow the Prerequisites guide to enable diagnostics for Azure Logic Apps with the Nodinite Azure Logic Apps Agent.

Further reading: Set up Azure Monitor logs and collect diagnostics data for Azure Logic Apps

Use Context Options in tracked properties to control the names Nodinite uses:

  • Message Type name—Add ExtendedProperties/1.0#MessageTypeName with versioned value (e.g., Orders/1.0#Order, EDIFACT.DESADVD96A)
  • Repair and Resubmit—Add Filename with full path to enable Log View resubmission operations (failed runs are resubmitted from Managing Logic Apps)

Nodinite's Custom Logging provides total control over what, when, and how you log—ideal for selective high-value logging.

  • ✅ Selective logging—log only business-critical events (invoices, orders), skip test transactions
  • ✅ Cost optimization—reduce event volume by 90%+ with strategic logging placement
  • ✅ Advanced correlation—link transactions across systems with custom InterchangeId logic
  • ✅ Business-specific metadata—enrich logs with calculated values, external lookups, user context

Great for business-driven logging strategy!

With Custom Logging, you add code to workflows to log only what matters. Initial effort pays off with high-quality, targeted observability.

Custom coding delivers precision logging with upfront engineering investment:

# Comment
✅ Not noisy Log only business-critical events—skip test transactions, health checks, internal operations
✅ Total control Define event names, correlation logic, payload structure—no auto-generated naming
✅ Low maintenance Log everything known at each point—rarely requires revisits once deployed
✅ Correlation power Group events by custom InterchangeId logic (e.g., Order Number across 10 systems)
✅ No vendor lock-in Nodinite JSON format allows logging to multiple targets without workflow changes
✅ Faster visibility Direct logging to intermediate storage—no diagnostic ingestion delays
✅ Reindexing enabled Full payloads stored—extract new Search Fields from historical data retroactively

Total control requires engineering investment:

# Comment
⚠️ Coding required Add logic to workflows—reusable connectors reduce effort, but initial design needed
⚠️ Adds complexity Workflows include logging actions—test and maintain logging logic alongside business logic

Create Nodinite JSON Log Events and send to intermediate storage consumed by the Pickup Log Events Service.

graph LR subgraph "Custom Solution" roBroker(fal:fa-brackets-curly Custom Code)-->|"Nodinite JSON Log Event"| roSink(fal:fa-file-export Intermediate storage ) end subgraph "Nodinite instance" roPS(fal:fa-truck-pickup Pickup Service) -->roNI(fal:fa-cloud-arrow-down Log API) roSink --> roPS end

This Nodinite JSON Log Event is persisted to an intermediate storage and is eventually consumed by the Nodinite Pickup Log Events Service Logging Agent making your logs available within the Nodinite Log Views. The Pickup Service sends the events to the Log API, and the Logging Service processes them into the Log Databases.

The most common options are listed below; see Pickup Service for the complete list:

  • Service Bus queue
  • Event Hub (requires blob container for checkpointing)
  1. Choose intermediate storage based on pricing, scaling, geo-redundancy requirements (see Azure Costs for Blob Storage and Event Hub)
  2. Add Compose action to Logic App workflow to create JSON Log Event
  3. Send JSON to intermediate storage (Service Bus Send Message, Event Hub Send Event)
  4. Configure Pickup Service to consume from intermediate storage

Instead of a Compose and a send in every workflow, the workflows can call one shared Azure Function that builds the JSON Log Event and writes it to the intermediate storage. No diagnostic setting is needed; see Log from the workflow with an Azure Function.

Add this to a Compose action, then send it to the intermediate storage:

{
"Body": @{base64(body('INT001B.OrderIncomingSB'))},
"EndPointDirection": 0,
"EndPointName": "INT101: Receive Hello World Log Events",
"EndPointTypeId": 60,
"EndPointUri": "C:\\temp\\in",
"LogAgentValueId": 5,
"LogDateTime": @{utcNow()},
"OriginalMessageTypeName": "OVERRIDDENBYTRACKEDPROPERTY"
}

See JSON Log Event documentation for all properties and customization options. The LogAgentValueId identifies the Log Agent, and the OriginalMessageTypeName sets the Message Type.

Use this decision guide to select the best approach for your requirements:

Your Need Recommended Option
Azure-only shop + short retention Option 1: Application Insights
Consolidate Azure services + KQL expertise Option 2: Azure Monitor Logs
Compliance audits + long retention + zero workflow changes Option 3: Nodinite Diagnostics Logging
Selective high-value logging + cost control Option 4: Nodinite Custom Logging
Cross-platform correlation (Logic Apps + BizTalk + MuleSoft) Option 3 or 4 (Nodinite only)
Reindexing historical data by new fields Option 3 or 4 (Nodinite only)
Business user self-service without Azure Portal Option 3 or 4 (Nodinite only)
graph TD A[Need Logic Apps Logging?] -->|Yes| B{Azure-only environment?} B -->|Yes| C{Short retention < 90 days?} B -->|No| D{Zero workflow changes?} C -->|Yes| E[Application Insights] C -->|No| F{Need full payloads?} F -->|No| G[Azure Monitor Logs] F -->|Yes| D D -->|Yes| H[Nodinite Diagnostics Logging] D -->|No| I{Selective logging?} I -->|Yes| J[Nodinite Custom Logging] I -->|No| H

Application Insights: Best for Azure-native shops with short retention needs and metadata-only requirements.

Azure Monitor Logs: Best for multi-service Azure logging with KQL expertise and centralized Azure observability.

Nodinite Diagnostics Logging: Best for compliance, long retention, cross-platform correlation, and reindexing without workflow changes.

Nodinite Custom Logging: Best for selective high-value logging, cost optimization, and total control over correlation logic.

...

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...