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
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.
Why Unified Logging with IBM MQ Agent?
Section titled “ Why Unified Logging with IBM MQ Agent?”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”Prerequisites
Section titled “Prerequisites”Before configuring logging, ensure you have:
-
IBM MQ Monitoring Agent v7.2.0+ installed and configured for monitoring
- See Install IBM MQ Monitoring Agent if not yet installed
- See Prerequisites for IBM MQ Monitoring Agent for requirements
-
IBM Integration Bus or App Connect Enterprise
- IBM Integration Bus 9, 10 OR
- IBM App Connect Enterprise 11, 12, 13
-
IBM MQ Queue for Monitoring Events
- Queue must have 'Default read ahead' set to 'No'
- Service account must have GET and BROWSE permissions
-
Nodinite Logging Agent Configuration
- Created in Nodinite Administration → Log Management → Logging Agents
- LogAgentId obtained for use in agent configuration
-
IBM Monitoring Profile configured
- Emits Monitoring Events to IBM MQ queue
- See Create the Monitoring Profile below
Create the Monitoring Profile
Section titled “ Create the Monitoring Profile”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)
Key Monitoring Profile Settings
Section titled “Key Monitoring Profile Settings”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.
Complete configuration steps
Section titled “Complete configuration steps”- Open Remote Configuration from Administration → Monitor Management → Monitoring Agent Configuration
- Click the Logging tab
- Add a new log source
- Configure connection settings (queue manager, queue name, credentials)
- Set polling interval and log destination (Log API with optional OAuth 2.0)
- Configure bad message queue for error handling
- 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.
Version Differences: ACE vs. IIB
Section titled “Version Differences: ACE vs. IIB”IBM changed the Monitoring Event XML structure between versions:
- ACE (Version 11 - 13): New XML schema with removed
@terminalattribute - IIB (Version 9 and 10): Legacy XML schema with
@terminalattribute
The agent automatically detects the version based on XML structure.
Version 11 - 13 (ACE)
Section titled “Version 11 - 13 (ACE)”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>Key ACE Mapping Fields
Section titled “Key ACE Mapping Fields”| 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) |
ACE-Specific Considerations
Section titled “ACE-Specific Considerations”- No
@terminalattribute - UseDefaultLogStatusCodeconfiguration to determine success/failure - Base64 payload encoding - Agent automatically decodes
mon:bitstreamData/@bitstreamto extract payload - Application grouping - Events are grouped by
mon:application/@namefor logical organization
Version 9 and 10 (IIB)
Section titled “Version 9 and 10 (IIB)”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>Key IIB Mapping Fields
Section titled “Key IIB Mapping Fields”| 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) |
IIB-Specific Considerations
Section titled “IIB-Specific Considerations”@terminalattribute - 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.
Step 1: Create Message Type
Section titled “Step 1: Create Message Type”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.
Step 2: Add Search Fields
Section titled “Step 2: Add Search Fields”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 |
Step 3: Test and Verify
Section titled “Step 3: Test and Verify”After configuring Message Types:
- Send a test transaction through your IIB/ACE workflow
- Wait for Monitoring Event to be consumed (check polling interval)
- Navigate to Log → Log Views
- Search for your event using business identifiers (e.g., OrderNumber="ORD-12345")
If the search returns results, your Message Type configuration is correct!
Automatic Queue Cleanup
Section titled “ Automatic Queue Cleanup”Unlike custom logging solutions that accumulate events indefinitely, Nodinite automatically consumes Monitoring Events from the IBM MQ queue after successful processing.
Benefits
Section titled “Benefits”- ✅ 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
Queue Depth Monitoring
Section titled “Queue Depth Monitoring”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”Possible Causes
Section titled “Possible Causes”-
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
-
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
-
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
-
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
Events Logged But Not Searchable
Section titled “Events Logged But Not Searchable”Possible Causes
Section titled “Possible Causes”-
Message Type not configured
- Create Message Type with XPath match pattern for your event payload structure
- Test match pattern using sample event payload
-
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
High Queue Depth on Logging Queue
Section titled “High Queue Depth on Logging Queue”Possible Causes
Section titled “Possible Causes”-
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
-
Agent service stopped
- Check Windows Service status for IBM MQ Monitoring Agent
- Review Windows Event Log for service crashes or errors
-
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
-
Log API performance issue
- Check Nodinite Log API response times
- Review SQL Server performance if Log Database is slow
Best Practices
Section titled “ Best Practices”1. Separate Monitoring and Logging Queues
Section titled “1. Separate Monitoring and Logging Queues”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.
2. Configure Queue Depth Alerts
Section titled “2. Configure Queue Depth Alerts”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)
3. Use Descriptive Logging Source Names
Section titled “3. Use Descriptive Logging Source Names”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.
4. Implement Message Type Standards
Section titled “4. Implement Message Type Standards”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.
5. Monitor Bad Message Queue
Section titled “5. Monitor Bad Message Queue”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.
Next Steps
Section titled “ Next Steps” 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