---
title: Azure Logic Apps Logging Options Compared – Application Insights vs Nodinite
description: "Compare Azure Logic Apps logging options: Application Insights, Azure Monitor, Nodinite Diagnostics Logging, and Custom Logging. Understand pros, cons, and when to use each approach."
---

# About Logic Apps Logging Options

Discover the best logging approach for your [Azure Logic Apps][Azure Logic Apps Agent] integration scenarios. This guide compares Azure native options (Application Insights, Azure Monitor) with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> approaches (Diagnostics Logging, [Custom Logging][])—helping you choose the right strategy for visibility, compliance, troubleshooting, and operational control.

Both <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> options end up as [Log Events][Log Event] in the same [Log Databases][], searchable in [Log Views][] with [Search Fields][]. The [Azure Logic Apps Logging and Monitoring Agent][Azure Logic Apps Agent] handles Diagnostics Logging (see [Logging Logic Apps][]), while the [Pickup Log Events Service][Pickup Service] handles Custom Logging.

## Comparison: Azure Native vs Nodinite Logging

|Feature|**Application Insights**|**Azure Monitor Logs**|**<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Diagnostics Logging**|**<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Custom Logging**|
|---|---|---|---|---|
|<i class="fal fa-coins" aria-hidden="true"></i> **Cost**|💰 Pay per GB ingested|💰 Pay per GB ingested + workspace|✅ Included with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> license|✅ Included with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> license|
|<i class="fal fa-screwdriver-wrench" aria-hidden="true"></i> **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|
|<i class="fal fa-file-lines" aria-hidden="true"></i> **Payload Logging**|❌ Metadata only (tracked properties)|❌ Metadata only|✅ **Full payloads** via regex [Logging filters][Configuration - Logging]|✅ **Full payloads** with total control|
|<i class="fal fa-list" aria-hidden="true"></i> **Tracked Properties**|✅ Must define upfront|✅ Must define upfront|✅ Captured automatically|✅ Captured with code|
|<i class="fal fa-magnifying-glass" aria-hidden="true"></i> **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|
|<i class="fal fa-diagram-project" aria-hidden="true"></i> **Correlation Across Systems**|❌ Logic Apps only|❌ Azure services only|✅ BizTalk, Databases, APIs, Files, MuleSoft, etc.|✅ BizTalk, Databases, APIs, Files, MuleSoft, etc.|
|<i class="fal fa-calendar-xmark" aria-hidden="true"></i> **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][]|
|<i class="fal fa-arrows-rotate" aria-hidden="true"></i> **Reindexing Old Data**|❌ Not possible|❌ Not possible|✅ Extract new [Search Fields][] from historical logs|✅ Extract new [Search Fields][] from historical logs|
|<i class="fal fa-scale-balanced" aria-hidden="true"></i> **Compliance & Audit**|⚠️ Limited payload access|⚠️ Limited payload access|✅ Full payload audit trails for GDPR, SOX, HIPAA|✅ Full payload audit trails for GDPR, SOX, HIPAA|
|<i class="fal fa-chart-column" aria-hidden="true"></i> **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**|
|<i class="fal fa-credit-card" aria-hidden="true"></i> **Multi-Subscription View**|❌ Per subscription|❌ Per workspace|✅ **Unified across unlimited subscriptions**|✅ **Unified across unlimited subscriptions**|
|<i class="fal fa-users" aria-hidden="true"></i> **Business User Access**|❌ Requires Azure Portal access|❌ Requires Azure Portal access|✅ [Role][Roles]-based [Log Views][] without Azure credentials|✅ Role-based [Log Views][] without Azure credentials|
|<i class="fal fa-monitor-waveform" aria-hidden="true"></i> **Monitoring Integration**|❌ Separate from logging|❌ Separate from logging|✅ **Same agent [monitors][Monitoring Logic Apps] + logs**|✅ **Same agent monitors + logs**|
|<i class="fal fa-thumbs-up" aria-hidden="true"></i> **Best For**|Azure-only shops with budget|Centralized Azure logging|Enterprise integration, compliance, audit|High-value workflows, precise control|

### Key Nodinite Advantages

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

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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

Azure native options charge per GB and have workspace limits. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Databases][] enable:

* <i class="fal fa-calendar-xmark" aria-hidden="true"></i> **[Message Type][]-based retention**: Keep invoices 7 years, test messages 30 days
* <i class="fal fa-database" aria-hidden="true"></i> **Unlimited storage** at database costs (not per-event Azure pricing)
* <i class="fal fa-box-archive" aria-hidden="true"></i> **Archive and purge policies** per compliance requirements

#### 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> with [Message Type][Message Type] policies and database retention controls
* the Azure side can be limited to a short troubleshooting window while <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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][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:

* [Logic Apps limits and configuration — run history retention](https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-limits-and-config)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>
* [Collect diagnostics data for Azure Logic Apps](https://learn.microsoft.com/en-us/azure/logic-apps/monitor-workflows-collect-diagnostic-data)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>
* [Azure Event Hubs message retention overview](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-features#event-retention)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>

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.

#### Cross-Platform Correlation

Application Insights tracks Logic Apps only. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> correlates end-to-end:

* Salesforce → Logic App → BizTalk → SQL Database → MuleSoft → SAP
* Search by Order ID, defined as a [Search Field Expression][], to see the complete business transaction across all systems
* [Business Process Modeling (BPM)][BPM] visualizes workflows spanning platforms

#### Business User Self-Service

Azure Portal requires IT/DevOps credentials. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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)

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

### When to Use

* ✅ 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)  

### Application Insights Pros

* ✅ **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  

### Application Insights Cons

* ❌ **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

### Setup

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)

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

### When Azure Monitor Makes Sense

* ✅ 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  

### Azure Monitor Pros

* ✅ **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 (<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> uses [Alarm Plugins][] for the same purpose)  

### Azure Monitor Cons

* ❌ **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

### Azure Monitor Setup

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

## Option 3: Nodinite Diagnostics Logging

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>'s Diagnostics Logging provides plug-and-play logging for Logic Apps with **full payload capture** via regex-based [Logging filters][Configuration - Logging] and **auto-discovery**. The agent reads the diagnostic events from an [Event Hub][Configuration - Event Hubs] and fetches the payloads from the Logic Apps run history.

### When Nodinite Diagnostics Excels

* ✅ **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  

><i class="fal fa-user-md" aria-hidden="true"></i> Great for IT-pros who want plug-and-play observability!

Using Azure Logic Apps built-in diagnostics with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>'s intelligent payload filtering provides **full visibility** without workflow modifications.

### Pros

|#|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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>)|
|✅ Correlation support|Group events for individual runs using the **Application interchange id** [Search Field][Search Fields]|
|✅ 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)|

### Diagnostics Logging Considerations

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|<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> auto-names [Endpoints][] and [Message Types][Message Type]. 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>'s regex [Logging filters][Configuration - Logging] 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][]|

### When Diagnostics Logging Shines

* ✅ **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][Configuration - Subscription] 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Azure Logic Apps Agent][].

> Further reading: [Set up Azure Monitor logs and collect diagnostics data for Azure Logic Apps](https://learn.microsoft.com/en-us/azure/logic-apps/monitor-workflows-collect-diagnostic-data#set-up-azure-monitor-logs)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>

### Diagnostics Tips

#### Control Naming with Tracked Properties

Use [Context Options][] in tracked properties to control the names <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> uses:

* <i class="fal fa-envelope" aria-hidden="true"></i> **[Message Type][] name**—Add `ExtendedProperties/1.0#MessageTypeName` with versioned value (e.g., `Orders/1.0#Order`, `EDIFACT.DESADVD96A`)
* <i class="fal fa-repeat" aria-hidden="true"></i> **Repair and Resubmit**—Add `Filename` with full path to enable [Log View][Log Views] resubmission operations (failed runs are resubmitted from [Managing Logic Apps][])

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p><strong>DO NOT enable these Azure diagnostic options</strong>—<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> doesn't need metrics or other categories, which only increase Azure costs.
<img src="https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogicApps/Configuration/InvalidDiagnosticsOptions.png" alt="Invalid options" class="nodinite-zoom">
<em><span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> does not need the metrics or other categories.</em></p></div>
</aside>

## Option 4: Nodinite Custom Logging

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>'s Custom Logging provides **total control** over what, when, and how you log—ideal for selective high-value logging.

### When Custom Logging Excels

* ✅ **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  

><i class="fal fa-user-tie" aria-hidden="true"></i> 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.

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>For Azure Functions logging, check out the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/logging-and-monitoring/serilog/overview/">Serilog</a> feature and <a href="https://docs.nodinite.com/logging-and-monitoring/serilog/troubleshooting/reduce-azure-functions-logging-costs/">Reduce Azure Functions Logging Costs</a>.</p></div>
</aside>

### Custom Logging Pros

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**|<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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|

### Custom Logging Considerations

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|

### Custom Logging Setup

Create <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JSON Log Events][JSON Log Event] and send to **intermediate storage** consumed by the [Pickup Log Events Service][Pickup Service].

<div class="mermaid">
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
</div>

This <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JSON Log Event][] is persisted to an **intermediate storage** and is eventually consumed by the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service] making your logs available within the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Views][]. The Pickup Service sends the events to the [Log API][], and the [Logging Service][] processes them into the [Log Databases][].

#### Intermediate Storage Options

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

* Service Bus queue
* Event Hub (requires blob container for [checkpointing](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-features#checkpointing)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>)

#### Implementation Steps

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][Log Logic Apps at Scale - Azure Function].

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Consult <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://www.nodinite.com/partners/">Partners</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> for Logging strategy design expertise.</p></div>
</aside>

#### Example JSON Log Event

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

```json
{
  "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][Log Agents], and the `OriginalMessageTypeName` sets the [Message Type][].

## Which Logging Option Should I Choose?

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: <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Diagnostics Logging|
|**Selective high-value logging + cost control**|Option 4: <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Custom Logging|
|**Cross-platform correlation (Logic Apps + BizTalk + MuleSoft)**|Option 3 or 4 (<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> only)|
|**Reindexing historical data by new fields**|Option 3 or 4 (<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> only)|
|**Business user self-service without Azure Portal**|Option 3 or 4 (<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> only)|

### Decision Flowchart

```mermaid
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
```

### Key Differentiators Summary

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

**<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Diagnostics Logging**: Best for compliance, long retention, cross-platform correlation, and reindexing without workflow changes.

**<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Custom Logging**: Best for selective high-value logging, cost optimization, and total control over correlation logic.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-rocket" aria-hidden="true"></i> [Set up Diagnostics Logging with Prerequisites][Prerequisites]  
* <i class="fal fa-download" aria-hidden="true"></i> [Install the agent][Install]  
* <i class="fal fa-search" aria-hidden="true"></i> [Configure Logging filters][Configuration - Logging]  
* <i class="fal fa-code" aria-hidden="true"></i> [Learn JSON Log Event Format for Custom Logging][JSON Log Event]  
* <i class="fal fa-eye" aria-hidden="true"></i> [Explore Azure Logic Apps Monitoring Overview][Azure Logic Apps Agent]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-sitemap" aria-hidden="true"></i> [Azure Logic Apps Monitoring and Logging Overview][Azure Logic Apps Agent]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Logging Logic Apps][]  
* <i class="fal fa-desktop" aria-hidden="true"></i> [Monitoring Logic Apps][]  
* <i class="fal fa-file-code" aria-hidden="true"></i> [ARM Template][]  
* <i class="fal fa-coins" aria-hidden="true"></i> [Reduce Azure Logic Apps Run History Retention to Lower TCO][]  
* <i class="fal fa-gauge-high" aria-hidden="true"></i> [Log Logic Apps at Scale][]  
* <i class="fal fa-screwdriver-wrench" aria-hidden="true"></i> [Troubleshooting][]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites for Diagnostics Logging][Prerequisites]  
* <i class="fal fa-code" aria-hidden="true"></i> [JSON Log Event Format][JSON Log Event]  
* <i class="fal fa-truck-pickup" aria-hidden="true"></i> [Pickup Log Events Service][Pickup Service]  
* <i class="fal fa-file" aria-hidden="true"></i> [Message Type Retention Control][Message Type]  
* <i class="fal fa-key" aria-hidden="true"></i> [Context Options for Tracked Properties][Context Options]  
* <i class="fal fa-project-diagram" aria-hidden="true"></i> [BPM][] - End-to-end process tracking across Logic Apps and other systems  
* <i class="fal fa-bolt" aria-hidden="true"></i> [Serilog for Azure Functions Logging][Serilog]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogicApps/Configuration/InvalidDiagnosticsOptions.png

[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[ARM Template]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/arm-template/
[Azure Costs for Blob Storage and Event Hub]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/azure-costs-for-blob-storage-and-event-hub/
[Azure Logic Apps Agent]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/overview/
[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[Configuration - Event Hubs]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-event-hubs/
[Configuration - Logging]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-logging/
[Configuration - Subscription]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-subscription/
[Context Options]:https://docs.nodinite.com/core-services/log-event/features/context-options/
[Custom Logging]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/overview/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[Install]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/install/
[JSON Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Logic Apps at Scale]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/log-logic-apps-at-scale/
[Log Logic Apps at Scale - Azure Function]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/log-logic-apps-at-scale/#azure-function
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Logging Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/logging-logic-apps/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Managing Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/managing-logic-apps/
[Message Type]:https://docs.nodinite.com/repository-model/message-types/overview/
[Monitoring Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/monitoring-logic-apps/
[Partners]:https://www.nodinite.com/partners/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Prerequisites]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/
[Reduce Azure Functions Logging Costs]:https://docs.nodinite.com/logging-and-monitoring/serilog/troubleshooting/reduce-azure-functions-logging-costs/
[Reduce Azure Logic Apps Run History Retention to Lower TCO]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/reduce-azure-logic-apps-run-history-retention-to-lower-tco/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Search Field Expression]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Serilog]:https://docs.nodinite.com/logging-and-monitoring/serilog/overview/
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/overview/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/