Skip to content
Documentation
Updated 12 minutes to read
Markdown
Release Notes

IBM Integration Bus & ACE Logging with IBM MQ Monitoring Agent

Section titled “ IBM Integration Bus & ACE Logging with IBM MQ Monitoring Agent”

Achieve end-to-end logging and full observability for IBM Integration Bus and App Connect Enterprise workflows using the unified Nodinite IBM MQ Monitoring Agent. Starting with v7.2.0, this single agent provides both IBM MQ monitoring (queue depth, channels, listeners) AND IBM Integration Bus logging (Monitoring Events, payloads, correlation).

On this page, you will learn how to:

✅ Configure the unified agent to consume IBM Monitoring Events from IIB/ACE workflows
✅ Map IBM Monitoring Events to Nodinite Log Events for full traceability
✅ Use Remote GUI configuration instead of legacy Settings.json files
✅ Understand message type mapping for business intelligence and searchability
✅ Create IBM Monitoring Profiles to emit events from your workflows

Understanding the Unified Agent Architecture

Section titled “ Understanding the Unified Agent Architecture”

The IBM MQ Monitoring Agent provides two complementary capabilities in a single installation:

1. Monitoring – Real-Time State Visibility

Section titled “1. Monitoring – Real-Time State Visibility”
  • What: Current queue depths, message age, channel status, listener availability
  • Purpose: Proactive alerting when thresholds are breached (queue backlog, channel failure, listener down)
  • Configuration: Monitoring tab in Remote Configuration modal
  • Documentation: Monitoring IBM MQ

2. Logging – Historical Transaction Traceability

Section titled “2. Logging – Historical Transaction Traceability”
  • What: IBM Monitoring Events from Integration Bus/ACE workflows with full payloads and context values
  • Purpose: End-to-end transaction tracking, compliance auditing, business intelligence
  • Configuration: Logging tab in Remote Configuration modal (this page)
  • Documentation: This page
graph LR subgraph "IBM Integration Bus / ACE" roIIBApplication(fal:fa-sitemap IIB Workflow)--> roIIBTracing(fal:fa-bolt Monitoring Events
Monitoring Profile) roFolder(fal:fa-list IBM MQ Queue) roIIBTracing --> roFolder end subgraph "Nodinite Server" roAgent(fal:fa-gauge-max IBM MQ Monitoring Agent v7.2.0+) roFolder --> | TCP | roAgent roAgent --> roMonitoring(fal:fa-chart-line Monitoring
Queue Depth, Channels) roAgent --> roLogging(fal:fa-hard-drive Logging
Monitoring Events) end

The diagram above illustrates how the unified IBM MQ Monitoring Agent handles both monitoring (real-time state) and logging (historical transactions) from a single agent installation.


Previously, IBM Integration Bus logging required a separate standalone agent with file-based Settings.json configuration, IBM MQ Client library dependencies, and .NET Framework 4.8. The unified agent eliminates these limitations:

Feature Legacy IIB Logging Agent Unified IBM MQ Agent v7.2.0+
Configuration Settings.json file editing Remote GUI (web browser)
Runtime .NET Framework 4.8 .NET 10
IBM MQ Client Libraries Required (with assembly redirects) Not required
Service Account Traditional accounts only gMSA supported
Diagnostics Manual troubleshooting AI Diagnostics
Agent Count 2 agents (monitoring + logging) 1 unified agent
Licensing Separate licenses 1 license for both
Installation MSI-based Portal-based CLI
Performance Legacy DEVKIT Nodinite v7 DEVKIT (optimized)

Getting Started with IBM Integration Bus Logging

Section titled “ Getting Started with IBM Integration Bus Logging”

Before configuring logging, ensure you have:

  1. IBM MQ Monitoring Agent v7.2.0+ installed and configured for monitoring

  2. IBM Integration Bus or App Connect Enterprise

    • IBM Integration Bus 9, 10 OR
    • IBM App Connect Enterprise 11, 12, 13
  3. IBM MQ Queue for Monitoring Events

    • Queue must have 'Default read ahead' set to 'No'
    • Service account must have GET and BROWSE permissions
  4. Nodinite Logging Agent Configuration

    • Created in Nodinite Administration → Log Management → Logging Agents
    • LogAgentId obtained for use in agent configuration
  5. IBM Monitoring Profile configured


IBM provides comprehensive documentation for creating Monitoring Profiles that emit IBM Monitoring Events to MQ queues:

IBM Integration Bus Version Monitoring Profile Guide Monitoring Event Reference
✅ ACE 13 IBM App Connect 13 Monitoring Profile Guide IBM App Connect 13 Monitoring Event
✅ ACE 12 IBM App Connect 12 Monitoring Profile Guide IBM App Connect 12 Monitoring Event
✅ ACE 11 IBM App Connect 11 Monitoring Profile Guide IBM App Connect 11 Monitoring Event
✅ IIB 10 IBM Integration Bus 10 Monitoring Profile Guide IBM Integration Bus 10 Monitoring Event
✅ IIB 9 IBM Integration Bus 9 Monitoring Profile Guide IBM Integration Bus 9 Monitoring Event

You may also find this IBM blog post helpful:

  • Auditing and Logging Using Monitoring Events In IBM Integration Bus/Message Broker (IBM developerWorks blog, no longer online)

When creating the Monitoring Profile, ensure:

  • Destination: IBM MQ Queue (e.g., IIB.MONITORING.EVENTS)
  • Event Format: XML (Nodinite parses XML Monitoring Events)
  • Event Scope: Configure which workflow nodes emit events (typically Entry, Exit, Failure)
  • Payload Inclusion: Enable full payload capture for complete traceability

Configure Logging in IBM MQ Monitoring Agent

Section titled “ Configure Logging in IBM MQ Monitoring Agent”

Once your IBM Monitoring Profile is emitting events to an MQ queue, configure the IBM MQ Monitoring Agent to consume and process those events.

  1. Open Remote Configuration from Administration → Monitor Management → Monitoring Agent Configuration
  2. Click the Logging tab
  3. Add a new log source
  4. Configure connection settings (queue manager, queue name, credentials)
  5. Set polling interval and log destination (Log API with optional OAuth 2.0)
  6. Configure bad message queue for error handling
  7. Save and sync

For detailed field-by-field configuration instructions with screenshots, see:

Configure IBM Integration Bus Logging - Step-by-step guide with OAuth 2.0/OIDC setup


Mapping from IBM Monitoring Event to Nodinite Log Event

Section titled “ Mapping from IBM Monitoring Event to Nodinite Log Event”

This section describes how IBM Monitoring Events are transformed into Nodinite Log Events.

IBM changed the Monitoring Event XML structure between versions:

  • ACE (Version 11 - 13): New XML schema with removed @terminal attribute
  • IIB (Version 9 and 10): Legacy XML schema with @terminal attribute

The agent automatically detects the version based on XML structure.


This section applies to IBM ACE

Sample IBM Monitoring Event (ACE 11+ XML Message)

Section titled “Sample IBM Monitoring Event (ACE 11+ XML Message)”
<?xml version="1.0" encoding="UTF-8"?>
<mon:event xmlns:mon="http://www.ibm.com/xmlns/monitoring/event/v2">
<mon:eventPointData>
<mon:eventData mon:productVersion="110010"
mon:profileVersion="11" mon:eventSourceAddress="HTTP Input.transaction.Start">
<mon:eventIdentity mon:eventName="HTTP Input.TransactionStart" />
<mon:eventSequence mon:creationTime="2020-07-20T16:20:21.776758Z"
mon:counter="1" />
<mon:eventCorrelation mon:localTransactionId="40ddc412-f102-4840-a212-8b793d12b6bf-1"
mon:parentTransactionId="" mon:globalTransactionId="" />
</mon:eventData>
<mon:messageFlowData>
<mon:integrationServer mon:name="110010"
mon:hostName="DESKTOP-7Q9JIP6" />
<mon:application mon:name="Transformation_Map" />
<mon:messageFlow mon:name="TestFlow" />
</mon:messageFlowData>
</mon:eventPointData>
<mon:bitstreamData mon:encoding="base64Binary" mon:bitstream="PD94bWwgdmVyc2lvbj0iMS4..." />
</mon:event>
IBM Monitoring Event Element Nodinite Log Event Field Notes
mon:eventName OriginalMessageTypeName Event type (TransactionStart, TransactionEnd, etc.)
mon:localTransactionId CorrelationId Unique transaction identifier
mon:creationTime LogDateTime Event timestamp
mon:application/@name ApplicationName ACE Application name
mon:messageFlow/@name Resource Message flow name
mon:integrationServer/@name ProcessName Integration Server name
mon:integrationServer/@hostName ProcessingMachineName Server hostname
mon:bitstreamData/@bitstream Body (Base64 decoded) Message payload (Base64 encoded in event)
  • No @terminal attribute - Use DefaultLogStatusCode configuration to determine success/failure
  • Base64 payload encoding - Agent automatically decodes mon:bitstreamData/@bitstream to extract payload
  • Application grouping - Events are grouped by mon:application/@name for logical organization

This section applies to IBM Integration Bus 9 and 10

Sample IBM Monitoring Event (IIB 9/10 XML Message)

Section titled “Sample IBM Monitoring Event (IIB 9/10 XML Message)”
<?xml version="1.0" encoding="UTF-8"?>
<MonitoringEvent xmlns="http://www.ibm.com/xmlns/monitoring/event"
productVersion="80020" eventSourceAddress="Flow.transaction.Start"
eventSequence="1" eventIdentity="Flow.TransactionStart"
eventDateTime="2018-01-15T14:30:22.123456Z"
localTransactionId="4a2e1234-5678-90ab-cdef-1234567890ab"
parentTransactionId="" globalTransactionId=""
terminal="Out">
<IntegrationServer brokerName="IB10" executionGroupName="default" />
<MessageFlow messageFlowName="TestFlow" />
<Bitstream encoding="base64Binary">PD94bWwgdmVyc2lvbj0iMS4...</Bitstream>
</MonitoringEvent>
IBM Monitoring Event Element Nodinite Log Event Field Notes
@eventIdentity OriginalMessageTypeName Event type (Flow.TransactionStart, Flow.TransactionEnd)
@localTransactionId CorrelationId Unique transaction identifier
@eventDateTime LogDateTime Event timestamp
@terminal LogStatusCode Success/Failure indicator (Out=success, Failure=error)
MessageFlow/@messageFlowName Resource Message flow name
IntegrationServer/@brokerName ProcessName Broker name
IntegrationServer/@executionGroupName ApplicationName Execution Group name
Bitstream Body (Base64 decoded) Message payload (Base64 encoded in event)
  • @terminal attribute - Automatically maps to LogStatusCode (Out=0, Failure=-1)
  • Execution Group - Used as ApplicationName for grouping events
  • Broker Name - Identifies the IIB broker instance

Message Type Configuration for Business Searchability

Section titled “ Message Type Configuration for Business Searchability”

To make IBM Monitoring Events searchable by business data (Order IDs, Customer Names, Invoice Numbers, etc.), configure Message Types and Search Field Expressions.

Navigate to Administration → Log Management → Message Types.

Create a new Message Type (or update existing) with:

  • Name: Descriptive name (e.g., "Order Processing Event", "Invoice Transaction")
  • Match Pattern: XPath expression to identify this message type from Monitoring Event payload

Example XPath for detecting Order messages

Section titled “Example XPath for detecting Order messages”
//*[local-name()='Order']

This matches any XML element named Order in the decoded Monitoring Event payload.

For the Message Type, add Search Field Expressions to extract business data:

Example Search Fields for Order Processing

Section titled “Example Search Fields for Order Processing”
Search Field Name XPath Expression Example Value
OrderNumber //*[local-name()='OrderID']/text() ORD-12345
CustomerID //*[local-name()='CustomerCode']/text() CUST-9876
OrderTotal //*[local-name()='TotalAmount']/text() 1250.00
OrderDate //*[local-name()='OrderDate']/text() 2026-01-19

After configuring Message Types:

  1. Send a test transaction through your IIB/ACE workflow
  2. Wait for Monitoring Event to be consumed (check polling interval)
  3. Navigate to Log → Log Views
  4. Search for your event using business identifiers (e.g., OrderNumber="ORD-12345")

If the search returns results, your Message Type configuration is correct!


Unlike custom logging solutions that accumulate events indefinitely, Nodinite automatically consumes Monitoring Events from the IBM MQ queue after successful processing.

  • ✅ No manual cleanup jobs required - Events are removed from MQ queue once logged
  • ✅ No disk space waste - MQ queue stays empty or near-empty
  • ✅ Retention controlled by Nodinite - Log retention policies determine how long events are stored
  • ✅ High availability - If Nodinite is offline, events accumulate safely in MQ queue until service resumes

Use the Monitoring tab in the same IBM MQ Monitoring Agent to set queue depth alerts for your logging queues:

  • ⚠️ Warning threshold: 1000 messages (indicates processing lag)
  • ❌ Error threshold: 5000 messages (indicates Nodinite service issue or network problem)

This ensures you're notified if Monitoring Events stop being consumed.


Troubleshooting IBM Integration Bus Logging

Section titled “ Troubleshooting IBM Integration Bus Logging”

Events Not Appearing in Nodinite Log Views

Section titled “Events Not Appearing in Nodinite Log Views”
  1. Monitoring Profile not emitting events

    • Verify IBM Monitoring Profile is active in IIB/ACE
    • Check MQ queue depth - are events arriving on the queue?
    • Use MQ Explorer to browse messages in the logging queue
  2. Agent not consuming events

    • Check agent diagnostics log for connection errors
    • Verify Queue Manager name matches configuration exactly
    • Ensure service account has GET and BROWSE permissions on logging queue
  3. LogAgentId incorrect

    • Verify LogAgentId in configuration matches the ID in Nodinite Administration → Log Management → Logging Agents
    • Check Log API URI is correct and accessible from agent server
  4. Bad message queue receiving events

    • Browse bad message queue for malformed events
    • Check agent diagnostics for parsing errors
    • Common issue: Monitoring Event XML structure doesn't match expected schema
  1. Message Type not configured

    • Create Message Type with XPath match pattern for your event payload structure
    • Test match pattern using sample event payload
  2. Search Fields not extracting values

    • Verify XPath expressions using XML sample from actual Monitoring Event
    • Check for namespace issues in XPath (use local-name() function)
    • Reindex existing events after adding new Search Fields
  1. Polling interval too high

    • Reduce polling interval to 30 seconds if events arrive faster than consumption rate
    • Monitor trend over 24 hours to determine optimal interval
  2. Agent service stopped

    • Check Windows Service status for IBM MQ Monitoring Agent
    • Review Windows Event Log for service crashes or errors
  3. Network connectivity issue

    • Verify TCP connectivity between agent server and queue manager
    • Check the firewall rules for the Queue Manager listener and the Log API, as listed in the firewall settings
  4. Log API performance issue

    • Check Nodinite Log API response times
    • Review SQL Server performance if Log Database is slow

Use different MQ queues for monitoring events vs. application messages:

  • Monitoring Events Queue: IIB.MONITORING.EVENTS (consumed by Nodinite)
  • Application Messages Queue: ORDERS.IN, INVOICES.OUT (consumed by business applications)

This separation prevents accidental mixing of audit events with business transactions.

In the Monitoring tab, add queue depth thresholds for logging queues:

  • ⚠️ Warning: 1000 messages (10-15 minutes of backlog at typical volume)
  • ❌ Error: 5000 messages (significant processing delay)

Name logging sources by environment and purpose:

  • ✅ Good: "Production IIB Events", "Dev ACE Workflows", "QA Integration Testing"
  • ❌ Poor: "Logging1", "Queue2", "Test"

This improves clarity in diagnostics and audit logs.

Create consistent Message Type naming across all workflows:

  • Transaction types: OrderProcessing, InvoiceGeneration, ShipmentNotification
  • Error events: OrderProcessingError, InvoiceGenerationError
  • Audit events: UserLoginAudit, ConfigurationChangeAudit

This enables cross-workflow correlation and reporting.

Regularly review the Bad Message Queue to identify:

  • Malformed Monitoring Events (indicates IIB/ACE configuration issue)
  • Unexpected XML structures (may need Message Type updates)
  • Encoding problems (Base64 decoding errors)

Set up alerts when bad message queue depth exceeds 10 messages.


Configure IBM Integration Bus Logging – Set up log sources, queue mappings, and OAuth 2.0/OIDC integration
Monitoring IBM MQ – Monitor the queues that transport IBM Monitoring Events

...

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