---
title: BizTalk Server Logging Agent – Replace BAM with Reliable Long-Term Message Tracking
description: Replace BizTalk BAM with reliable long-term message tracking. Nodinite BizTalk Server Logging Agent captures events, payloads, and context properties from BizTalkDTADb—no pipeline components, no vendor lock-in, plug-and-play for BizTalk 2006-2020.
---

# <i class="fal fa-server" aria-hidden="true"></i> Microsoft BizTalk Server Logging Agent

Replace BizTalk BAM with **reliable, long-term message tracking** that scales with your enterprise. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> BizTalk Server Logging Agent captures tracked events, payloads, and context properties from BizTalkDTADb—**plug and play**, no pipeline components, no vendor lock-in, no BizTalk restarts required.

## Why Teams Choose This Agent

BizTalk tracking databases fill up fast, BAM is fragile and complex, and business users need to search messages by order numbers or customer IDs—not just timestamps. Traditional BizTalk tracking creates operational pain:

* <i class="fal fa-bomb" aria-hidden="true"></i> **BAM Fragility** – BAM deployments fail cryptically, BAM archiving breaks without warning, DTA Purge jobs fail when BAM views lock tables—causing BizTalkDTADb bloat and throttling  
* <i class="fal fa-magnifying-glass" aria-hidden="true"></i> **No Business Search** – Native BizTalk tracking searches by Service Instance ID or timestamp—business users can't find messages by Order Number, Customer ID, Invoice Number, or other business identifiers  
* <i class="fal fa-box" aria-hidden="true"></i> **Short-Term Retention** – BizTalkDTADb purges tracked messages after 7-30 days (to prevent database growth)—but compliance requires 90 days, 1 year, or 7 years of message history  
* <i class="fal fa-puzzle-piece" aria-hidden="true"></i> **Vendor Lock-In** – Messages tracked in BizTalk format can't be searched or analyzed after migrating to Logic Apps, MuleSoft, or other platforms—data trapped in BizTalk-specific schema  
* <i class="fal fa-gear" aria-hidden="true"></i> **Pipeline Component Complexity** – Custom logging requires deploying pipeline components, restarting hosts, managing GAC deployments, versioning nightmares  
* <i class="fal fa-lock" aria-hidden="true"></i> **No Self-Service for Business Users** – Granting access to BizTalk Admin Console or SQL queries to non-technical users exposes system configuration and security risks  

**The Nodinite BizTalk Server Logging Agent solves this** by providing **reliable BAM replacement**, **business-searchable message tracking**, and **long-term archiving**—with zero changes to BizTalk deployments:

✅ **Replace BAM completely** – No BAM definitions, no BAM archiving, no BAM-related DTA Purge failures—just reliable tracking that works  
✅ **Plug and play—nothing to deploy** – No pipeline components, no orchestration changes, no GAC deployments, no host restarts—configure and go  
✅ **Search by business data** – Find messages by Order Number, Customer ID, Invoice Number—any data from payload or context properties  
✅ **Long-term archive without DTA bloat** – Store tracked messages for years (not days) while keeping BizTalkDTADb small and fast  
✅ **Multi-BizTalk Group support** – Log from old Prod and new Prod, DEV/TEST/PROD, acquired companies—all with one Nodinite license  
✅ **No vendor lock-in** – Export messages to any system, migrate to Logic Apps/MuleSoft without losing history  
✅ **Automatic synchronization** – Survives reboots, network outages, BizTalk updates—automatically catches up when connectivity restored  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> BizTalk Server Logging Agent is compatible with <strong>BizTalk Server 2006 through 2020</strong>—all editions (Enterprise, Standard, Developer, Trial).<br>
<img src="https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/BizTalk/BizTalkLogo.png" alt="BizTalk Logo" class="nodinite-zoom"></p></div>
</aside>

## How It Works

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **BizTalk Server Logging Agent** is a built-in component of the [Logging Service][] that copies tracked events and messages from **BizTalkDTADb** (BizTalk Tracking Database) into Nodinite [Log Databases][]—providing long-term storage, business-searchable indexing, and advanced analytics.

```mermaid
graph TB
    subgraph BizTalk["BizTalk Server Environment"]
        A1[Receive Port<br/>Tracking: ON]
        A2[Send Port<br/>Tracking: ON]
        A3[Orchestration<br/>Tracking: ON]
        B[BizTalkDTADb<br/>Tracking Database]
    end
    subgraph Nodinite["Nodinite Environment"]
        C[BizTalk Logging Agent<br/>Copies Events via Linked Server]
        D[Log Databases<br/>Long-Term Storage]
        E1[Log Views<br/>Business Search]
        E2[Non-Events<br/>Monitoring]
        E3[BPM<br/>End-to-End Tracking]
    end
    subgraph TrackingMgmt["Tracking Management"]
        F[BizTalk Monitoring Agent<br/>Bulk Tracking Configuration]
    end
    A1 -->|Payload + Context| B
    A2 -->|Payload + Context| B
    A3 -->|Payload + Context| B
    B -->|60-90 sec latency| C
    C -->|Indexed by Business Data| D
    D --> E1
    D --> E2
    D --> E3
    F -.->|Configure Tracking| A1
    F -.->|Configure Tracking| A2
    F -.->|Configure Tracking| A3
    style A1 fill:#90EE90
    style A2 fill:#90EE90
    style A3 fill:#90EE90
    style B fill:#87CEEB
    style C fill:#87CEEB
    style D fill:#87CEEB
    style F fill:#FFD700
```

*Complete BizTalk logging architecture: BizTalk ports/orchestrations (tracking enabled) write to BizTalkDTADb → Nodinite Logging Agent copies events → Indexed in Log Databases → Available for search, monitoring, and [BPM][BPMs]. Use the [Tracking Management][] feature to bulk configure tracking settings.*

**What gets logged:**

* **Events** – All tracked Service Instances (Receive Port, [Send Port][Send Ports], [Orchestration][Orchestrations]) where tracking is enabled  
* **Message Payloads** – Payload logging: the full message body (XML, JSON, flat file, binary) when "Message Body" tracking is enabled  
* **Context Properties** – BizTalk promoted and written context properties (BTS.MessageType, BTS.Operation, custom properties)  

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>BizTalk tracking must be enabled for logging to work.</strong> Events are only logged if <strong>tracking is enabled</strong> on the Port or Orchestration <strong>AND</strong> either "Message Body" or "Message Properties" (or both) tracking options are selected.</p><p><i class="fal fa-envelope-open" aria-hidden="true"></i> <strong>Need to enable tracking on many ports?</strong> Use Nodinite's <a href="https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/tracking/overview/">Tracking Management</a> feature to bulk update tracking settings across all BizTalk ports and orchestrations—no need to log into BizTalk Admin Console.</p></div>
</aside>

<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>You can also log BizTalk messages using <a href="https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/features/capabilities/pipeline-components/">Log Pipeline Components</a> for <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>—useful for logging messages from pipelines before they reach BizTalk tracking (e.g., for invalid messages that fail before tracking).</p></div>
</aside>

## Key Capabilities

* **<i class="fal fa-magnifying-glass" aria-hidden="true"></i> Search by Business Data** – Find messages by Order Number, Customer ID, Invoice Number using [Search Fields][]—not just Service Instance GUID. Multi-field search, wildcards, and range queries supported.
* **<i class="fal fa-box" aria-hidden="true"></i> Long-Term Archive** – Store tracked messages for years while keeping BizTalkDTADb small and fast using [Log Databases][]. Configure retention (90 days to 7+ years) based on compliance requirements.
* **<i class="fal fa-arrows-rotate" aria-hidden="true"></i> Automatic Synchronization** – Survives reboots, network outages, and SQL Server maintenance. Agent automatically catches up when connectivity restored—zero data loss, original timestamps preserved.
* **<i class="fal fa-building" aria-hidden="true"></i> Multi-BizTalk Group Support** – Log from multiple environments (DEV/TEST/PROD, old + new prod, acquired companies) with one Nodinite license. Unified search across all environments.
* **<i class="fal fa-ban" aria-hidden="true"></i> Replace BAM** – Eliminate BAM definitions, BAM archiving jobs, and BAM-related DTA Purge failures. Just enable BizTalk tracking—Nodinite does the rest. See [BAM Replacement][] for detailed comparison.
* **<i class="fal fa-lock" aria-hidden="true"></i> Self-Service Access** – Grant business users secure message search via role-based [Log Views][]—no BizTalk Console access needed. Full audit trails track who searched what and when.
* **<i class="fal fa-chart-column" aria-hidden="true"></i> Advanced Monitoring** – [Non-Events Monitoring][] alerts when expected messages don't arrive. [BPM][] correlates end-to-end processes across BizTalk and external systems (Logic Apps, databases, APIs).

**Learn more:** [Configure Message Types][], [Configure Search Fields][], [Log Event Processing][]

## Message Processing Flow

**How BizTalk messages become business-searchable in Nodinite:**

1. **Events logged** – BizTalk tracking creates events in BizTalkDTADb when tracking is enabled
2. **Nodinite copies** – Logging Agent transfers events to [Log Databases][] (60-90 seconds latency)
3. **Message Types determined** – From BTS.MessageType context property, payload root node, or custom rules
4. **Search Fields extracted** – XPath/Regex extract business data (Order Numbers, Customer IDs)
5. **Data searchable** – [Log Views][] enable searching by business identifiers, not just GUIDs

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>Configure <a href="https://docs.nodinite.com/repository-model/message-types/overview/">Message Types</a> and <a href="https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/">Search Fields</a> to make BizTalk events searchable by business data like Order Number, Customer ID, Invoice Number.</p></div>
</aside>

**Learn more:** [Configure Message Types][], [Configure Search Fields][], [Log Event Processing][]

## Prerequisites for BizTalk Logging

**Two critical prerequisites:**

1. **Infrastructure Setup** – [Linked Servers][], firewall rules, SQL permissions, Kerberos, [MSDTC][]
2. **BizTalk Tracking Enabled** – #1 reason for "no logs appearing"—tracking must be enabled on ports/orchestrations

```mermaid
graph LR
    A[Tracking OFF] -->|No data| B[BizTalkDTADb Empty]
    B --> C[No Nodinite Logs]
    D[Tracking ON] -->|Events written| E[BizTalkDTADb Has Data]
    E --> F[Nodinite Logs Appear]
    style A fill:#FF6B6B
    style C fill:#FF6B6B
    style D fill:#90EE90
    style F fill:#90EE90
```

**Enable tracking** (port tracking and orchestration tracking): BizTalk Admin Console → Port Properties → Tracking tab → Enable Message Body and/or Message Properties

**Bulk management:** Use [Tracking Management][Tracking Management] feature to enable tracking on hundreds of ports from one screen—no BizTalk Console access required.

<i class="fal fa-square-plus" aria-hidden="true"></i> **Complete guide:** [Prerequisites for BizTalk Logging][BizTalkPreReqs] with step-by-step instructions

## Supported BizTalk Versions

|**BizTalk Version**|**Supported**|**Editions Supported**|**Notes**|  
|---|---|---|---|  
|**BizTalk 2020**|✅ Yes|Enterprise, Standard, Developer, Trial|Latest version fully supported|  
|**BizTalk 2016**|✅ Yes|Enterprise, Standard, Developer, Trial|Includes all Cumulative Updates (CUs)|  
|**BizTalk 2013 R2**|✅ Yes|Enterprise, Standard, Developer, Trial|Widely deployed in production|  
|**BizTalk 2013**|✅ Yes|Enterprise, Standard, Developer, Trial|Widely deployed in production|  
|**BizTalk 2010**|✅ Yes|Enterprise, Standard, Developer, Trial|Legacy support maintained|  
|**BizTalk 2009**|✅ Yes|Enterprise, Standard, Developer, Trial|Legacy support maintained|  
|**BizTalk 2006 R2**|✅ Yes|Enterprise, Standard, Developer, Trial|Legacy support maintained|  
|**BizTalk 2006**|✅ Yes|Enterprise, Standard, Developer, Trial|Legacy support maintained|  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> builds and tests against the latest available <a href="https://support.microsoft.com/en-us/servicing/biztalk/update/2020/service-pack-and-cumulative-update-list-for-biztalk-server">Cumulative Update (CU)</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> for each BizTalk version. We recommend keeping BizTalk updated to the latest CU for security, stability, and performance.</p></div>
</aside>

## Automatic Synchronization & Reliability

**Reliability features:** Reboot anything anytime—agent resumes automatically • Original timestamps preserved • Zero data loss (with proper DTA Purge configuration) • Automatic catch-up after outages

**Latency:** 60-90 seconds (tracked messages appear in Nodinite after BizTalk tracking)

**DTA Purge warning:** Don't stop agent longer than your DTA Purge window—purged events cannot be recovered.

**Learn more:** [Configure BizTalk LogAgent][], [Non-Events Monitoring][]

## Get Started

|**Step**|**Task**|**Description**|  
|---|---|---|  
|**1**|[Review Prerequisites][BizTalkPreReqs]|Confirm SQL Server access to BizTalkDTADb (db_datareader role), network connectivity between Nodinite and BizTalk SQL Server, and BizTalk tracking enabled on Ports/Orchestrations.|  
|**2**|**Configure BizTalk Log Agent**|BizTalk Logging is built into the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Logging Service][]—enable it during [Core Services][] installation or configure post-installation using [Configure BizTalk LogAgent][] guide. Specify BizTalkDTADb connection string and polling interval.|  
|**3**|**Enable BizTalk Tracking**|In BizTalk Admin Console, enable tracking on Receive Ports, Send Ports, and Orchestrations—select "Message Body" and/or "Message Properties" tracking options. No pipeline components required—Nodinite copies from BizTalkDTADb.|  
|**4**|[Create Log View][Add or manage Log View]|Define role-based [Log Views][] for different user groups (e.g., "Sales Order Messages", "EDI Inbound", "Finance Invoices"). Configure which [Users][] can access which Log Views.|  
|**5**|[Configure Message Types][]|Define [Message Types][] to identify BizTalk messages (e.g., "PurchaseOrder", "OrderConfirmation", "Invoice"). Nodinite determines Message Type from BTS.MessageType context property, payload root node, or custom rules. **This step is critical for Search Fields.**|  
|**6**|[Configure Search Fields][]|Extract business data from messages using [XPath][] (XML), JSONPath (JSON), Regex (flat file), or context property references. Define Search Fields for Order Number, Customer ID, Invoice Number, Amount, Date—any business identifier users need to search.|  
|**7**|**Test & Validate**|Process test messages through BizTalk with tracking enabled. Verify messages appear in Nodinite [Log Views][] within 60-90 seconds. Confirm Search Fields extract correct values. Grant users access and train on searching by business data.|  

## Common Questions

**Q: Do I need pipeline components?** A: No—agent copies from BizTalkDTADb directly. [Log Pipeline Components][] available for advanced scenarios.

**Q: How does this replace BAM?** A: No BAM definitions, no archiving jobs, business-searchable data, multi-platform correlation. [BAM Replacement][]

**Q: Multiple BizTalk Groups?** A: Yes—one license, unlimited groups. [Configure BizTalk LogAgent][]

**Q: What if BizTalk reboots?** A: Agent auto-resumes with original timestamps. [Non-Events Monitoring][]

**Q: Latency?** A: 60-90 seconds typical. [Configure BizTalk LogAgent][]

**Q: Search by Order Number?** A: Configure [Message Types][] + [Search Fields][] with XPath/JSONPath expressions.

**Q: Business user access?** A: Yes—grant [Log Views][] access. No BizTalk Console needed.

**Q: Required tracking options?** A: Message Body and/or Message Properties. Use [Tracking Management][] for bulk configuration.

**Q: DTA Purge?** A: Ensure agent synchronizes before purge window. [Non-Events Monitoring][]

**Q: Migration to Logic Apps/MuleSoft?** A: Yes—open SQL format, no vendor lock-in. [BPM][] for correlation.

## Additional Resources

* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites for BizTalk Logging Agent][BizTalkPreReqs] – SQL Server access, network connectivity, BizTalk tracking requirements  
* <i class="fal fa-cogs" aria-hidden="true"></i> [Configure BizTalk LogAgent][] – System parameters, polling intervals, multiple BizTalk Groups, latency tuning  
* <i class="fal fa-ban" aria-hidden="true"></i> [BAM Replacement][] – Detailed comparison of Nodinite vs. BAM capabilities, migration guidance  
* <i class="fal fa-puzzle-piece" aria-hidden="true"></i> [Log Pipeline Components][] – Alternative logging method for advanced scenarios (logging invalid messages, custom tracking)  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Add or manage Log View][] – Create role-based Log Views for different user groups  
* <i class="fal fa-file" aria-hidden="true"></i> [Message Types][] – Define message types for business-searchable logging (**critical for Search Fields**)  
* <i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> [Search Fields][] – Extract business data from payloads and context properties  
* <i class="fal fa-stopwatch" aria-hidden="true"></i> [Non-Events Monitoring][] – Alert when expected messages don't arrive or volumes fall outside thresholds  
* <i class="fal fa-project-diagram" aria-hidden="true"></i> [Business Process Modeling (BPM)][BPM] – Correlate BizTalk messages with other systems for end-to-end process tracking  
* <i class="fal fa-chart-line" aria-hidden="true"></i> [Log Event Processing][] – Understand how Nodinite processes logged events and determines Message Types  
* <i class="fal fa-circle-question" aria-hidden="true"></i> [Troubleshooting BizTalk Logging][Troubleshooting] – Diagnose common issues: connectivity, permissions, tracking not appearing  

___

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

**Ready to replace BAM and enable long-term BizTalk message tracking?** Start by reviewing prerequisites and configuring the BizTalk Log Agent:  

<i class="fal fa-square-plus" aria-hidden="true"></i> [Prerequisites for BizTalk Logging Agent][BizTalkPreReqs] – Confirm SQL access, network connectivity, and BizTalk tracking requirements  
<i class="fal fa-cogs" aria-hidden="true"></i> [Configure BizTalk LogAgent][] – Enable BizTalk logging in Nodinite Logging Service  
<i class="fal fa-hard-drive" aria-hidden="true"></i> [Add or manage Log View][] – Create role-based Log Views for searching BizTalk messages  

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

* <i class="fal fa-database" aria-hidden="true"></i> [Database Monitoring Agent][] – Monitor BizTalk SQL Server health, MessageBox size, SQL Agent jobs, backups  
* <i class="fal fa-server" aria-hidden="true"></i> [Windows Server Agent][] – Monitor BizTalk host servers (CPU, memory, disk, services, [Event Log][Windows Server Event Log], BizTalk [Host Instances][])  
* <i class="fal fa-chart-area" aria-hidden="true"></i> [Non-Events Monitoring][] – Alert when expected BizTalk messages don't arrive or message volumes fall outside thresholds  
* <i class="fal fa-project-diagram" aria-hidden="true"></i> [Business Process Modeling (BPM)][BPM] – Correlate BizTalk messages with other systems (Logic Apps, databases, APIs) for end-to-end visibility  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/BizTalk/BizTalkLogo.png

[Add or manage Log View]:https://docs.nodinite.com/administration/log-management/log-views/features/add-or-manage-log-view/
[BAM Replacement]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/features/bam-replacement/
[BizTalkPreReqs]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/getting-started/prerequisites/
[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[BPMs]:https://docs.nodinite.com/repository-model/bpms/overview/
[Configure BizTalk LogAgent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/features/managing-biztalk-logging/
[Configure Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Configure Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Database Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/database/overview/
[Host Instances]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/host-instances/overview/
[Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-servers/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Event Processing]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Pipeline Components]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/features/capabilities/pipeline-components/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[MSDTC]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/transactions-msdtc/
[Non-Events Monitoring]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[Orchestrations]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/orchestrations/overview/
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Send Ports]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/send-ports/overview/
[Tracking Management]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/tracking/overview/
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/troubleshooting/uninstall/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[Windows Server Agent]:https://docs.nodinite.com/logging-and-monitoring/windows-server/overview/
[Windows Server Event Log]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/event-log/
[XPath]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/formula/extract/xpath/