---
title: "DEPRECATED: IBM Integration Bus Logging with Legacy Standalone Agent"
description: "DEPRECATED: Legacy documentation for standalone IBM Integration Bus Logging Agent. Modern installations use the unified IBM MQ Monitoring Agent with Remote GUI configuration."
---

<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><i class="fal fa-exclamation-triangle" aria-hidden="true"></i> This standalone agent has been deprecated and consolidated into the IBM MQ <a href="https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/">Monitoring Agent</a> v7.2.0+</strong></p><p>The standalone <a href="https://docs.nodinite.com/logging-and-monitoring/ibm-integration-bus/overview/">IBM Integration Bus Logging Agent</a> is no longer maintained. All logging capabilities are now part of the <strong>unified IBM MQ Monitoring Agent</strong> with:</p><ul>
<li><strong>.NET 10</strong> (no IBM MQ Client libraries)</li>
<li><strong>Remote GUI configuration</strong> (no Settings.json files)</li>
<li><strong>Unified monitoring + logging</strong> (one agent for both)</li>
<li><strong>gMSA support</strong> and <a href="https://docs.nodinite.com/ai/ai-diagnostics/">AI Diagnostics</a></li>
</ul><p><strong><i class="fal fa-arrow-right" aria-hidden="true"></i> For modern installations:</strong> See <a href="https://docs.nodinite.com/logging-and-monitoring/ibm-mq/features/ibm-integration-bus-logging/">IBM MQ Monitoring Agent - IBM Integration Bus Logging</a> for the unified approach with Remote GUI configuration.</p><p><strong><i class="fal fa-info-circle" aria-hidden="true"></i> Legacy documentation below</strong> describes the deprecated standalone logging agent for historical reference only.</p></div>
</aside>

---

# <i class="fal fa-skull-crossbones" aria-hidden="true"></i> Legacy: Logging with the IBM Integration Bus Logging Agent (Deprecated)

Unlock full visibility and control of your IBM Integration Bus workflows by leveraging <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> for end-to-end logging. This guide shows you how to centralize, govern, and map IBM [Monitoring Events][] to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Events][Log Event Processing], empowering your team with actionable insights and compliance-ready traceability.  

✅ Achieve end-to-end logging and monitoring for all IBM Integration Bus events  
✅ Centralize and govern logs for compliance and operational excellence  
✅ Map IBM Monitoring Events to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Log Events for full traceability  
✅ Eliminate manual cleanup—<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> handles log retention automatically  

> On this page, you will learn how to enable and configure end-to-end logging of IBM Monitoring Events with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. Discover the technical process, mapping rules, and best practices for seamless integration.  

## Create the Monitoring Profile

IBM provides user guides for creating the required Monitoring Profile, which emits IBM Monitoring Events:

|IBM Integration Bus Version|How to Create the Monitoring Profile|Monitoring Event|  
|---|:---:|:---:|  
|✅ 13|[IBM App Connect 13 Monitoring Profile Guide](https://www.ibm.com/docs/en/app-connect/12.0.x?topic=profile-creating-monitoring)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|[IBM App Connect 13 Monitoring Event](https://www.ibm.com/docs/en/app-connect/13.0.x?topic=basics-monitoring-profiles)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|✅ 12|[IBM App Connect 12 Monitoring Profile Guide](https://www.ibm.com/docs/en/app-connect/12.0.x?topic=profile-creating-monitoring)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|[IBM App Connect 12 Monitoring Event](https://www.ibm.com/docs/en/app-connect/12.0.x?topic=basics-monitoring-event)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|✅ 11|[IBM App Connect 11 Monitoring Profile Guide](https://www.ibm.com/docs/en/app-connect/11.0.0?topic=profile-creating-monitoring)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|[IBM App Connect 11 Monitoring Event](https://www.ibm.com/docs/en/app-connect/11.0.0?topic=basics-monitoring-event)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|✅ 10|[IBM Integration Bus 10 Monitoring Profile Guide](https://www.ibm.com/docs/en/integration-bus/10.0.0?topic=basics-monitoring-profile)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|[IBM Integration Bus 10 Monitoring Event](https://www.ibm.com/docs/en/integration-bus/10.0.0?topic=basics-monitoring-event)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|✅ 9|[IBM Integration Bus 9 Monitoring Profile Guide](https://www.ibm.com/docs/en/integration-bus/9.0.0?topic=flows-monitoring-profile)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|[IBM Integration Bus 9 Monitoring Event](https://www.ibm.com/docs/en/integration-bus/9.0.0?topic=flows-monitoring-event)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  

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)

## Technical details for Logging IBM Monitoring Events

In complex environments, you may have multiple IBM Integration Bus workflows running on different servers, resulting in a high volume of Monitoring Events. Developers may enable or tune logging differently, leading to inconsistent governance. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> provides total control, centralized logging, and active documentation using the [Repository Model][].

With <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, you can centralize logging and manage or share insights from IBM Monitoring Events.

<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><strong>Critical: Configure <a href="https://docs.nodinite.com/repository-model/message-types/overview/">Message Types</a> for Business Intelligence</strong></p><p>When IBM Monitoring Events arrive in Nodinite:</p><ol>
<li><a href="https://docs.nodinite.com/repository-model/message-types/overview/">Message Types</a> identify message formats from monitoring event properties or XML payload content (PurchaseOrder, Invoice, Shipment, etc.)</li>
<li><a href="https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/">Search Field Expressions</a> extract business data - Order Numbers, Customer IDs, Invoice amounts, Transaction codes, etc.</li>
<li><a href="https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/">Log Views</a> become searchable by business identifiers, not just timestamps or correlation IDs</li>
<li><a href="https://docs.nodinite.com/logging-and-monitoring/non-events/overview/">Non-Events Monitoring</a> can track volumes, detect missing messages, and alert on pattern anomalies</li>
<li><a href="https://docs.nodinite.com/repository-model/bpms/overview/">Business Process Modeling (BPM)</a> can correlate transactions end-to-end across IBM Integration Bus workflows and other systems</li>
</ol><p><strong>Without proper Message Types and <a href="https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/">Search Fields</a>, your IBM Integration Bus events are stored but not searchable by business data.</strong> Learn more: <a href="https://docs.nodinite.com/core-services/log-event/overview/">Log Event Processing</a></p></div>
</aside>

```mermaid
graph LR
    subgraph "IBM Integration Bus workflow"
        roIBMApplication(fal:fa-sitemap IBM Integration Bus workflow)-->
        roIBMTracing(fal:fa-bolt IBM Monitoring Events<br/>Monitoring profile)
        roFolder(fal:fa-list IBM MQ Queue)
        roIBMTracing --> roFolder
    end
    subgraph "Nodinite Server"
        roPS(fal:fa-truck-pickup Nodite IBM Integration Bus Logging Agent)
        roFolder --> |TCP| roPS
   end
```

*The diagram above illustrates how IBM Monitoring Events are collected and processed by <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> for centralized logging.*

<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><i class="fal fa-broom" aria-hidden="true"></i> Messages put on IBM MQ queues are consumed by <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, so you do not need to create custom cleaning tasks.</p></div>
</aside>

### Scenario: Basic Request/Response

In this scenario we have one or more **Consumers** of the **IBM Integration Bus workflow**.

```mermaid
sequenceDiagram
    participant Consumer
    participant IIB workflow
    Consumer->>IIB workflow: Request
    IIB workflow->>Consumer: Response
```

#### IBM Monitoring Events enabled

Enable logging by defining Monitoring profiles. With the built-in IBM Monitoring Events enabled the Request and the Response is caught by the policy and is copied to the IBM MQ destination queue.

```mermaid
sequenceDiagram
    participant Consumer
    participant IIB workflow
    participant Monitoring Event
    Consumer->>IIB workflow: Request
    IIB workflow ->> Monitoring Event: Log Request
    IIB workflow->>Consumer: Response
    IIB workflow ->> Monitoring Event: Log Response
```

### <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Nodinite Logging

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [IBM Integration Bus Logging Agent][] consumes the Monitoring Events on the IBM MQ queues. This means that <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> will NOT waste your disk space or other valuable resources over time and you do not have to setup any cleaning maintenance jobs.

```mermaid
sequenceDiagram
    participant Consumer
    participant IIB workflow
    participant Monitoring Event
    participant Nodinite Logging
    Consumer->>IIB workflow: Request
    IIB workflow ->> Monitoring Event: Log Request
    Monitoring Event ->> Nodinite Logging: Nodinite Log Event (Json)
    IIB workflow->>Consumer: Response
    IIB workflow ->> Monitoring Event: Log Response
    Monitoring Event ->> Nodinite Logging: Nodinite Log Event (Json)
```

## Mapping from IBM Monitoring Event to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Log Event

This paragraph describes the how IBM Monitoring Events are mapped to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Events][Log Event].

You must first configure IBM Integration Bus to emit [Monitor Events][] to one or more queues, read more in the [Configuring IBM Integration Bus Logging][Configuration] user guide.

<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>IBM changed the format with version 11 (same for version 11 - 13) compared to version 9 and 10.</p></div>
</aside>

* ACE - [Version 11 - 13](#version-11-13-ace)
* IIB - [Version 9 and 10](#version-9-and-10)

### Version 11 - 13 (ACE)

>This section applies to [IBM ACE](https://www.ibm.com/docs/en/app-connect/12.0?topic=app-connect-enterprise-software)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>

Sample IBM Monitoring Event in version 11 (XML Message)

``` xml
<?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:uniqueFlowName="110010.Transformation_Map.Transformation_Map"
				mon:name="Transformation_Map" mon:threadId="12244" />
			<mon:node mon:nodeLabel="HTTP Input" mon:nodeType="ComIbmWSInputNode" />
		</mon:messageFlowData>
	</mon:eventPointData>
	<mon:bitstreamData>
		<mon:bitstream mon:serializationEncoding="base64Binary"
			mon:dataCCSID="1208" mon:dataEncoding="546">UE9TVCBodHRwOi8vbG9jYWxob3N0Ojc4MDAvVHJhbnNmb3JtYXRpb25fTWFwIEhUVFAvMS4xDQpDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9dXRmLTgNClVzZXItQWdlbnQ6IEphdmEvMS44LjBfMjUxDQpIb3N0OiBsb2NhbGhvc3Q6NzgwMA0KQWNjZXB0OiB0ZXh0L2h0bWwsIGltYWdlL2dpZiwgaW1hZ2UvanBlZywgKjsgcT0uMiwgKi8qOyBxPS4yDQpDb25uZWN0aW9uOiBrZWVwLWFsaXZlDQpDb250ZW50LUxlbmd0aDogNjgwDQpYLU9yaWdpbmFsLUhUVFAtQ29tbWFuZDogUE9TVCBodHRwOi8vbG9jYWxob3N0Ojc4MDAvVHJhbnNmb3JtYXRpb25fTWFwIEhUVFAvMS4xDQpYLVNlcnZlci1OYW1lOiBsb2NhbGhvc3QNClgtU2VydmVyLVBvcnQ6IDc4MDANClgtUmVtb3RlLUFkZHI6IDEyNy4wLjAuMQ0KWC1SZW1vdGUtSG9zdDogbG9jYWxob3N0DQpYLVNjaGVtZTogaHR0cA0KDQo8P3htbCB2ZXJzaW9uPSIxLjAiIGVuY29kaW5nPSJVVEYtOCI/Pg0KPFNhbGVFbnZlbG9wZT4NCgk8SGVhZGVyPg0KCQk8U2FsZUxpc3RDb3VudD4xPC9TYWxlTGlzdENvdW50Pg0KCQk8VHJhbnNmb3JtYXRpb25UeXBlPnhzbDwvVHJhbnNmb3JtYXRpb25UeXBlPg0KCTwvSGVhZGVyPg0KCTxTYWxlTGlzdD4NCgkJPEludm9pY2U+DQoJCQk8SW5pdGlhbD5UPC9Jbml0aWFsPg0KCQkJPEluaXRpYWw+SjwvSW5pdGlhbD4NCgkJCTxTdXJuYW1lPkR1bm53aW48L1N1cm5hbWU+DQoJCQk8SXRlbT4NCgkJCQk8Q29kZT4wNDwvQ29kZT4NCgkJCQk8Q29kZT4wNTwvQ29kZT4NCgkJCQk8Q29kZT4wMTwvQ29kZT4NCgkJCQk8RGVzY3JpcHRpb24+VGhlIE9yaWdpbiBvZiBTcGVjaWVzPC9EZXNjcmlwdGlvbj4NCgkJCQk8Q2F0ZWdvcnk+Qm9va3MgYW5kIE1lZGlhPC9DYXRlZ29yeT4NCgkJCQk8UHJpY2U+MjIuMzQ8L1ByaWNlPg0KCQkJCTxRdWFudGl0eT4wMjwvUXVhbnRpdHk+DQoJCQk8L0l0ZW0+DQoJCQk8QmFsYW5jZT44MS44NDwvQmFsYW5jZT4NCgkJCTxDdXJyZW5jeT5FdXJvczwvQ3VycmVuY3k+DQoJCTwvSW52b2ljZT4NCgk8L1NhbGVMaXN0Pg0KCTxUcmFpbGVyPg0KCQk8Q29tcGxldGlvblRpbWU+MTIuMDAuMDA8L0NvbXBsZXRpb25UaW1lPg0KCTwvVHJhaWxlcj4NCjwvU2FsZUVudmVsb3BlPg==</mon:bitstream>
	</mon:bitstreamData>
</mon:event>

```

Mapping table between [Log Event][] and the [IBM Monitoring Event](https://www.ibm.com/docs/en/integration-bus/10.0.0?topic=basics-monitoring-event)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>

|Mandatory|Data Type|Field|Path|Value|  
|:---:|:---:|---|---|---|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```string```|LogAgentValueId|N/A|[Configuration file][Configuration]|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```string```|EndPointName|event/eventPointData/eventData/eventIdentity/@eventName|HTTP Input.TransactionStart|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```string```|EndPointUri|event/eventPointData/eventData/@eventSourceAddress|HTTP Input.TransactionStart</br>**NOTE** Ensure the Monitoring profile listens on the "right" side of the IIB shape|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```number```|[EndPointDirection][Endpoint Directions]|event/eventPointData/eventData/@eventSourceAddress|From Terminal shape .in=0, .out = 1, no match = -2|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```number```|[EndPointTypeId][EndpointTypes]|N/A|41|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```string```|OriginalMessageTypeName|"Monitoring Event"|Hardcoded, unless the payload is XML; Then <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> extracts the [Message Type][Message Types] Name, else, please use [Context Options][] and send as **simpleContent**|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```string```|LogDateTime|event/eventPointData/eventData/eventSequence/@creationTime|2020-07-20T16:20:21.776758Z|  
||```number```|[EventDirection][EventDirections]|-|Send as SimpleContent, see example below table:<ul><li>**ExtendedProperties/1.0#EventDirection**</li></ul>|  
||```string```|ProcessingUser|N/A||  
||```number```|SequenceNo|event/eventPointData/eventData/eventSequence/@counter|1|  
||```number```|EventNumber|N/A||  
||```string```|LogText|-|Send as SimpleContent, see example below table:<ul><li>**ExtendedProperties/1.0#LogText**</li></ul>|  
||```string```|ApplicationInterchangeId|**TBD**  missing in ACE was previously event/eventPointData/messageFlowData/messageFlow/@UUID|N/A|  
||```guid```|LocalInterchangeId|event/eventPointData/eventData/eventCorrelation/@localTransactionId|40ddc412-f102-4840-a212-8b793d12b6bf-1|  
||```string```|[LogStatus][Log Status Codes]|N/A|'-1' (Unknown) if no match on [EndPointDirection][Endpoint Directions], else '0' (OK) and '-2' (catch)</br>This value may be overridden using a value for `LogStatusCode` as **simpleContent**|  
||```string```|ProcessName|event/eventPointData/messageFlowData/messageFlow/@uniqueFlowName|110010.Transformation_Map.Transformation_Map|  
||```string```|ProcessingMachineName|event/eventPointData/messageFlowData/integrationServer/@hostName|ACESRV01.Contoso.local|  
||```string```|ProcessingUser|event/eventPointData/messageFlowData/integrationNode/@name|XYZ.123Q|  
||```string```|ProcessingModuleName|event/eventPointData/messageFlowData/node/@nodeLabel|HTTP Input|  
||```string```|ProcessingModuleType|event/eventPointData/messageFlowData/node/@nodeType|ComIbmWSInputNode|  
||```guid```|ServiceInstanceActivityId|event/eventPointData/messageFlowData/messageFlow/@threadId|4201</br>**NOTE**: If this is not a GUID, then the value is in the Context collection with the **ThreadId** as the key|  
||```string```|ProcessingTime|N/A||  

<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>Use 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/core-services/log-event/features/context-options/">Context Options</a> to override default behaviour</p></div>
</aside>

### Version 9 and 10

Sample IBM Monitoring Event (XML Message)

```xml
<?xml version="1.0" encoding="UTF-8"?>
<wmb:event xmlns:wmb="http://www.ibm.com/xmlns/prod/websphere/messagebroker/6.1.0/monitoring/event">
	<wmb:eventPointData>
		<wmb:eventData wmb:eventSourceAddress="MQInput1.terminal.in" wmb:eventSchemaVersion="6.1.0.3" wmb:productVersion="7000">
			<wmb:eventIdentity wmb:eventName="MQInput event"/>
			<wmb:eventSequence wmb:creationTime="2017-09-23T12:00:00+02:00" wmb:counter='2'/>
			<wmb:eventCorrelation wmb:localTransactionId="a13122ae-1c01-0000-0080-b1b02528c6cd" wmb:parentTransactionId="456" wmb:globalTransactionId="789"/>
		</wmb:eventData>
		<wmb:messageFlowData>
			<wmb:broker wmb:UUID="d53122ae-1c01-0000-0080-b1b02528c6bf" wmb:name="myBroker"/>
			<wmb:executionGroup wmb:UUID="d43122ae-1c01-0000-0080-b1b02528c6bf" wmb:name="default"/>
			<wmb:messageFlow wmb:UUID="e6d224ae-1c01-0000-0080-9100cd1a61f7" wmb:name="myMessageFlow" wmb:threadId="4201" wmb:uniqueFlowName="myBroker.default.myMessageFlow"/>
			<wmb:node wmb:nodeLabel="MQInput1" wmb:nodeType="ComIbmMqInputNode" wmb:terminal="in" wmb:detail="MYMESSAGEFLOW.IN"/>
		</wmb:messageFlowData>
	</wmb:eventPointData>
	<wmb:applicationData xmlns="">
		<wmb:simpleContent wmb:name="invoiceNo" wmb:targetNamespace="" wmb:dataType="string" wmb:value="567"/>
		<wmb:complexContent wmb:elementName="customerName" wmb:targetNamespace="">
			<customerName>
				<firstName>Steve</firstName>
				<lastName>Bloggs</lastName>
			</customerName>
		</wmb:complexContent>
	</wmb:applicationData>
	<wmb:bitstreamData>
		<wmb:bitstream wmb:encoding="base64Binary">TUQgIAIAAAAAAAAACAAAAP////8AAAAAIgIAALUBAAAgICAgICAgIAAAAAAAAAAAQU1RIFFNMSAgICAgICAgIHo640ggABsHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFFNMSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg</wmb:bitstream>
	</wmb:bitstreamData>
</wmb:event> 

```

Mapping table between [Log Event][] and the [IBM Monitoring Event](https://www.ibm.com/docs/en/integration-bus/10.0.0?topic=basics-monitoring-event)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>

|Mandatory|Data Type|Field|Path|Value|  
|:---:|:---:|---|---|---|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```string```|LogAgentValueId|N/A|[Configuration file][Configuration]|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```string```|EndPointName|event/eventPointData/eventData/eventIdentity/@eventName|MQInput event|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```string```|EndPointUri|event/eventPointData/eventData/@eventSourceAddress|MQInput1.terminal.in</br>**NOTE**: Ensure the Monitoring profile listens to the "right" side of the IIB shape|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```number```|[EndPointDirection][Endpoint Directions]|event/eventPointData/eventData/@eventSourceAddress|From Terminal shape .in=0, .out = 1, no match = -2|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```number```|[EndPointTypeId][EndpointTypes]|N/A|41|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```string```|OriginalMessageTypeName|"Monitoring Event"|Hardcoded, unless the payload is XML; Then <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> extracts the [Message Type][Message Types] Name, else, please use [Context Options][] and send as **simpleContent**|  
|<i class="fal fa-paperclip" aria-hidden="true"></i>|```string```|LogDateTime|event/eventPointData/eventData/eventSequence/@creationTime|2017-09-23T12:00:00+02:00|  
||```number```|[EventDirection][EventDirections]|-|Send as SimpleContent, see example below table:<ul><li>**ExtendedProperties/1.0#EventDirection**</li></ul>|  
||```string```|ProcessingUser|N/A||  
||```number```|SequenceNo|event/eventPointData/eventData/eventSequence/@counter|2|  
||```number```|EventNumber|N/A||  
||```string```|LogText|-|Send as SimpleContent, see example below table:<ul><li>**ExtendedProperties/1.0#LogText**</li></ul>|  
||```string```|ApplicationInterchangeId|event/eventPointData/messageFlowData/messageFlow/@UUID|e6d224ae-1c01-0000-0080-9100cd1a61f7|  
||```guid```|LocalInterchangeId|event/eventPointData/eventData/eventCorrelation/@localTransactionId|a13122ae-1c01-0000-0080-b1b02528c6cd|  
||```string```|[LogStatus][Log Status Codes]|N/A|'-1' (Unknown) if no match on [EndPointDirection][Endpoint Directions], else '0' (OK) and '-2' (catch)</br>This value may be overridden using a value for `LogStatusCode` as **simpleContent**|  
||```string```|ProcessName|event/eventPointData/messageFlowData/messageFlow/@uniqueFlowName|myBroker.default.myMessageFlow|  
||```string```|ProcessingMachineName|event/eventPointData/messageFlowData/broker/@name|myBroker|  
||```string```|ProcessingModuleName|event/eventPointData/messageFlowData/node/@nodeLabel|MQInput1|  
||```string```|ProcessingModuleType|event/eventPointData/messageFlowData/node/@nodeType|ComIbmMqInputNode|  
||```guid```|ServiceInstanceActivityId|event/eventPointData/messageFlowData/messageFlow/@threadId|4201|  
||```string```|ProcessingTime|N/A||  

<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>If ServiceInstanceActivityId is not a GUID, then the value is in the Context collection with the <strong>ThreadId</strong> as the key.</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>Use 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/core-services/log-event/features/context-options/">Context Options</a> to override default behaviour</p></div>
</aside>

### SimpleContent

The following **simpleContent** will be converted to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **Context Properties** (Key Value pairs):

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>The wmb prefix is just a prefix, it can be different in your instance/examples and you can use 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/core-services/log-event/features/context-options/">Context Options</a> to override default behaviour</p></div>
</aside>

#### Additional field values

The following example converts simpleContent to **Additional Field Values**:

|From|To|  
|---|---|  
|`<p:simpleContent p:name="ToolOfTheDay" p:dataType="string"><p:valueQuery p:queryText="'Nodinite'"/></p:simpleContent>`|Key=ToolOfTheDay</br>Value: `Nodinite`|  
|`<p:simpleContent p:name="invoiceNo" p:dataType="int"><p:valueQuery p:queryText="'123'"/></p:simpleContent>`|Key: `invoiceNo`</br>Value: `123`|  

#### Override options

Use the following override options to change some properties of the final Log Event before it is pushed to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

|From|To|  
|---|---|  
|`<p:simpleContent p:name="LogStatusCode" p:dataType="int"><p:valueQuery p:queryText="'-1337'"/></p:simpleContent>`|Optional **override** for [LogStatus][Log Status Codes]|  
|`<p:simpleContent p:name="ExtendedProperties/1.0#MessageTypeName" p:dataType="string"><p:valueQuery p:queryText="'https://www.contoso.com/supplychain/1.0#invoice'"/></p:simpleContent>`|Optional **override** for [MessageType][Message Types]|  
|`<p:simpleContent p:name="ExtendedProperties/1.0#LogText" p:dataType="string"><p:valueQuery p:queryText="'Hello World'"/></p:simpleContent>`|Optional **override** for **LogText**</br>Value: `Hello world`|  
|`<p:simpleContent p:name="ExtendedProperties/1.0#EndpointDirection" p:dataType="int"><p:valueQuery p:queryText="0"/></p:simpleContent>`|Optional **override** for **EndpointDirection**</br>Value: 0 (Receive)|  

##### <i class="fal fa-arrows-left-right" aria-hidden="true"></i> Event Direction

You can provide additional information about the direction of the logged event ([EventDirection][EventDirections]). Simply log the message using simpleContent using either the **integer** or **string** value as exemplified in the table below:

|#|**string Value**|**integer Value**|Comment|  
|---|---|---|---|  
||Default|null|Not set|  
|1|ExternalIncoming|17|Incoming message before receive in a **One-Way** receive Port processing|  
|2|ExternalIncomingRequest|21|Incoming request message before receive **Request**-Response Port processing|  
|3|ExternalIncomingResponse|25|Outgoing response message after receive Request-**Response** Port processing|  
|4|ExternalOutgoing|18|Outgoing message after send in a **One-Way** Port processing|  
|5|ExternalOutgoingRequest|22|Outgoing request message after send **Request**-Response Port processing|  
|6|ExternalOutgoingResponse|26|Incoming response message after send Request-**Response** Port processing|  
|7|InternalIncoming|33|Incoming message after receive in a **One-Way** receive Port processing|  
|8|InternalOutgoing|34|Outgoing message before send in a **One-Way** send Port processing|  
|9|ProcessIncoming|65|Incoming message to a function/workflow/orchestration|  
|10|ProcessOutgoing|66|Outgoing message to a function/workflow/orchestration|  

``` xml
<p:simpleContent p:name="ExtendedProperties/1.0#EventDirection" p:dataType="integer"><p:valueQuery p:queryText="17"/></p:simpleContent>
```

*Example sending [EventDirection][EventDirections] **ExternalIncoming** using **integer** value*

``` xml
<p:simpleContent p:name="ExtendedProperties/1.0#EventDirection" p:dataType="string"><p:valueQuery p:queryText="ExternalIncoming"/></p:simpleContent>
```

*Example sending [EventDirection][EventDirections] **ExternalIncoming** using **string** value*

### ComplexContent  

**complexContent** will be converted to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **Context Properties** (Key Value pairs):

<table class="table table-striped table-bordered">
<thead>
<tr>
    <th>From</th>
    <th>To</th>
</tr>
<tr>
</thead>
<td>

```xml
<wmb:complexContent wmb:elementName="customerName" 
                            wmb:targetNamespace="">
    <customerName>
        <firstName>Steve</firstName>
        <lastName>Bloggs</lastName>
    </customerName>
</wmb:complexContent>
```

</td>
<td>
Key:

`Environment.Monitoring.ComplexContent.customerName`

</br>

Value:

```xml
<customerName><firstName>Steve</firstName><lastName>Bloggs</lastName></customerName>
```

</td>
</tr>
</table>

<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>Use the <a href="https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/formula/overview/">Formula</a> plugin to extract values from <strong>ComplexContent</strong> context properties!</p></div>
</aside>

#### ExceptionList

If you have a Monitoring Profile that catches the error information as `ExceptionList` in the **ComplexContent** element then <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> will replace any existing body with this XML content. The **LogStatus code** if not overridden will be set to **-2**.

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>The name of the <strong>ComplexContent</strong> element does <strong>not</strong> matter when the content is <code>ExceptionList</code> xml data.</p></div>
</aside>

An exception Log Event if not overridden has this Message Type Name:  `IBM.IIB.ExceptionList/6.1.0`.

### bitstreamData

The content of the `<bitstreamData>` element is the payload encoded as a **base64string**. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> internally happens to use the same base64string encoding for the payload so this value is simply copied to the **body** property of the [Log Event][].

### Transaction Ids

Some properties for correlation are put in the **Additional Fields** but they are also copied to the **Context Properties**.

```xml
<wmb:eventCorrelation wmb:localTransactionId="123" wmb:parentTransactionId="456" wmb:globalTransactionId="789"/>
```

|Key|Value|
|---|---|
|<i class="fal fa-key" aria-hidden="true"></i> `Environment.Monitoring.EventCorrelation.LocalTransactionId`|`123`|
|<i class="fal fa-key" aria-hidden="true"></i> `Environment.Monitoring.EventCorrelation.ParentTransactionId`|`456`|
|<i class="fal fa-key" aria-hidden="true"></i> `Environment.Monitoring.EventCorrelation.GlobalTransactionId`|`789`|

### RFH2 Header

If your IBM MQ message has an RFH2 header, then, the [IBM Integration Bus Logging Agent][] converts **all** these to **Context Properties** and thus becomes an integral part of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Event][].

<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> <a href="https://docs.nodinite.com/logging-and-monitoring/ibm-integration-bus/overview/">IBM Integration Bus Logging Agent</a> takes care of the RFH2 header automatically <strong>if</strong> it exists on the IBM MQ queue</p></div>
</aside>

---

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

Now [Add or manage Log Views][Add or manage Log View] and use the [Log Views][] to enjoy end-to-end tracking with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> including **IBM Monitoring Events**.

* <i class="fal fa-key" aria-hidden="true"></i> [Context Options][] - Additional optional properties  
* <i class="fal fa-box-archive" aria-hidden="true"></i> [Log Agents][] - Manage **Log Agents**  
* <i class="fal fa-file" aria-hidden="true"></i> [Configure Message Types][Message Types] - Make your IBM Integration Bus data searchable and enable advanced features  

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

<i class="fal fa-bolt" aria-hidden="true"></i> [Log Event][]  
<i class="fal fa-file" aria-hidden="true"></i> [Message Types][]  
<i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> [Search Fields][]  
<i class="fal fa-stopwatch" aria-hidden="true"></i> [Non-Events Monitoring][]  
<i class="fal fa-project-diagram" aria-hidden="true"></i> [BPM][]  
<i class="fal fa-cog" aria-hidden="true"></i> [IBM Integration Bus Logging Agent][]  
<i class="fal fa-wrench" aria-hidden="true"></i> [Configuration][]  
<i class="fal fa-key" aria-hidden="true"></i> [Context Options][]  

[Add or manage Log View]:https://docs.nodinite.com/administration/log-management/log-views/features/add-or-manage-log-view/
[AI Diagnostics]:https://docs.nodinite.com/ai/ai-diagnostics/
[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/ibm-integration-bus/getting-started/configuration/
[Context Options]:https://docs.nodinite.com/core-services/log-event/features/context-options/
[Endpoint Directions]:https://docs.nodinite.com/core-services/log-event/features/endpoint-directions/
[EndpointTypes]:https://docs.nodinite.com/core-services/log-event/features/endpoint-types/
[EventDirections]:https://docs.nodinite.com/core-services/log-event/features/event-directions/
[Formula]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/formula/overview/
[IBM Integration Bus Logging Agent]:https://docs.nodinite.com/logging-and-monitoring/ibm-integration-bus/overview/
[IBM MQ IIB Logging]:https://docs.nodinite.com/logging-and-monitoring/ibm-mq/features/ibm-integration-bus-logging/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Event Processing]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Status Codes]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-status-code/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Monitor Events]:https://docs.nodinite.com/core-services/monitoring-service/features/what-is-a-monitoring-event/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Monitoring Events]:https://docs.nodinite.com/core-services/monitoring-service/features/what-is-a-monitoring-event/
[Non-Events Monitoring]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Search Field Expressions]: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/