- 9 minutes to read

Microsoft BizTalk Server Logging Agent

Replace BizTalk BAM with reliable, long-term message tracking that scales with your enterprise. Nodinite 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:

  • 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
  • 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
  • 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
  • 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
  • Pipeline Component Complexity – Custom logging requires deploying pipeline components, restarting hosts, managing GAC deployments, versioning nightmares
  • 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

Note

Nodinite BizTalk Server Logging Agent is compatible with BizTalk Server 2006 through 2020—all editions (Enterprise, Standard, Developer, Trial).
BizTalk Logo

How It Works

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

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. Use Tracking Management feature to bulk configure tracking settings.

What gets logged:

  • Events – All tracked Service Instances (Receive Port, Send Port, Orchestration) where tracking is enabled
  • Message Payloads – 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)

Important

BizTalk tracking must be enabled for logging to work. Events are only logged if tracking is enabled on the Port or Orchestration AND either "Message Body" or "Message Properties" (or both) tracking options are selected.

Need to enable tracking on many ports? Use Nodinite's Tracking Management feature to bulk update tracking settings across all BizTalk ports and orchestrations—no need to log into BizTalk Admin Console.

Tip

You can also log BizTalk messages using Log Pipeline Components for Nodinite—useful for logging messages from pipelines before they reach BizTalk tracking (e.g., for invalid messages that fail before tracking).

Key Capabilities

  • 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.
  • 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.
  • Automatic Synchronization – Survives reboots, network outages, and SQL Server maintenance. Agent automatically catches up when connectivity restored—zero data loss, original timestamps preserved.
  • 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.
  • 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.
  • 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.
  • Advanced MonitoringNon-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 searchableLog Views enable searching by business identifiers, not just GUIDs

Important

Configure Message Types and Search Fields to make BizTalk events searchable by business data like Order Number, Customer ID, Invoice Number.

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
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: BizTalk Admin Console → Port Properties → Tracking tab → Enable Message Body and/or Message Properties

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

Complete guide: Prerequisites for BizTalk Logging 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

Note

Nodinite builds and tests against the latest available Cumulative Update (CU) for each BizTalk version. We recommend keeping BizTalk updated to the latest CU for security, stability, and performance.

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


Next Step

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

Prerequisites for BizTalk Logging Agent – Confirm SQL access, network connectivity, and BizTalk tracking requirements
Configure BizTalk LogAgent – Enable BizTalk logging in Nodinite Logging Service
Add or manage Log View – Create role-based Log Views for searching BizTalk messages