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

>[!IMPORTANT]
>**:fa-exclamation-triangle: This standalone agent has been deprecated and consolidated into the IBM MQ [Monitoring Agent][Monitoring Agents] v7.2.0+**
>
>The standalone [IBM Integration Bus Logging Agent][] is no longer maintained. All logging capabilities are now part of the **unified IBM MQ Monitoring Agent** with:
>
>* **.NET 10** (no IBM MQ Client libraries)
>* **Remote GUI configuration** (no Settings.json files)
>* **Unified monitoring + logging** (one agent for both)
>* **gMSA support** and [AI Diagnostics][]
>
>**:fa-arrow-right: For modern installations:** See [IBM MQ Monitoring Agent - IBM Integration Bus Logging][IBM MQ IIB Logging] for the unified approach with Remote GUI configuration.
>
>**:fa-info-circle: Legacy documentation below** describes the deprecated standalone logging agent for historical reference only.

---

# :fa-skull-crossbones: Legacy: Logging with the IBM Integration Bus Logging Agent (Deprecated)

Unlock full visibility and control of your IBM Integration Bus workflows by leveraging :Nodinite: for end-to-end logging. This guide shows you how to centralize, govern, and map IBM [Monitoring Events][] to :Nodinite: [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 :Nodinite: Log Events for full traceability  
✅ Eliminate manual cleanup—:Nodinite: handles log retention automatically  

> On this page, you will learn how to enable and configure end-to-end logging of IBM Monitoring Events with :Nodinite:. 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>:fa-arrow-up-right-from-square:</sup>|[IBM App Connect 13 Monitoring Event](https://www.ibm.com/docs/en/app-connect/13.0.x?topic=basics-monitoring-profiles)<sup>:fa-arrow-up-right-from-square:</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>:fa-arrow-up-right-from-square:</sup>|[IBM App Connect 12 Monitoring Event](https://www.ibm.com/docs/en/app-connect/12.0.x?topic=basics-monitoring-event)<sup>:fa-arrow-up-right-from-square:</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>:fa-arrow-up-right-from-square:</sup>|[IBM App Connect 11 Monitoring Event](https://www.ibm.com/docs/en/app-connect/11.0.0?topic=basics-monitoring-event)<sup>:fa-arrow-up-right-from-square:</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>:fa-arrow-up-right-from-square:</sup>|[IBM Integration Bus 10 Monitoring Event](https://www.ibm.com/docs/en/integration-bus/10.0.0?topic=basics-monitoring-event)<sup>:fa-arrow-up-right-from-square:</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>:fa-arrow-up-right-from-square:</sup>|[IBM Integration Bus 9 Monitoring Event](https://www.ibm.com/docs/en/integration-bus/9.0.0?topic=flows-monitoring-event)<sup>:fa-arrow-up-right-from-square:</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. :Nodinite: provides total control, centralized logging, and active documentation using the [Repository Model][].

With :Nodinite:, you can centralize logging and manage or share insights from IBM Monitoring Events.

>[!NOTE]
>**Critical: Configure [Message Types][] for Business Intelligence**
>
>When IBM Monitoring Events arrive in Nodinite:
>
>1. [Message Types][] identify message formats from monitoring event properties or XML payload content (PurchaseOrder, Invoice, Shipment, etc.)
>2. [Search Field Expressions][] extract business data - Order Numbers, Customer IDs, Invoice amounts, Transaction codes, etc.
>3. [Log Views][] become searchable by business identifiers, not just timestamps or correlation IDs
>4. [Non-Events Monitoring][] can track volumes, detect missing messages, and alert on pattern anomalies
>5. [Business Process Modeling (BPM)][BPM] can correlate transactions end-to-end across IBM Integration Bus workflows and other systems
>
>**Without proper Message Types and [Search Fields][], your IBM Integration Bus events are stored but not searchable by business data.** Learn more: [Log Event Processing][]

```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 :Nodinite: for centralized logging.*

>[!TIP]
>:fa-broom: Messages put on IBM MQ queues are consumed by :Nodinite:, so you do not need to create custom cleaning tasks.  

### 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
```

### :Nodinite: Nodinite Logging

The :Nodinite: [IBM Integration Bus Logging Agent][] consumes the Monitoring Events on the IBM MQ queues. This means that :Nodinite: 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 :Nodinite: Log Event

This paragraph describes the how IBM Monitoring Events are mapped to :Nodinite: [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.

>[!NOTE]
>IBM changed the format with version 11 (same for version 11 - 13) compared to version 9 and 10.

* 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>:fa-arrow-up-right-from-square:</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>:fa-arrow-up-right-from-square:</sup>

|Mandatory|Data Type|Field|Path|Value|  
|:---:|:---:|---|---|---|  
|:fa-paperclip:|```string```|LogAgentValueId|N/A|[Configuration file][Configuration]|  
|:fa-paperclip:|```string```|EndPointName|event/eventPointData/eventData/eventIdentity/@eventName|HTTP Input.TransactionStart|  
|:fa-paperclip:|```string```|EndPointUri|event/eventPointData/eventData/@eventSourceAddress|HTTP Input.TransactionStart</br>**NOTE** Ensure the Monitoring profile listens on the "right" side of the IIB shape|  
|:fa-paperclip:|```number```|[EndPointDirection][Endpoint Directions]|event/eventPointData/eventData/@eventSourceAddress|From Terminal shape .in=0, .out = 1, no match = -2|  
|:fa-paperclip:|```number```|[EndPointTypeId][EndpointTypes]|N/A|41|  
|:fa-paperclip:|```string```|OriginalMessageTypeName|"Monitoring Event"|Hardcoded, unless the payload is XML; Then :Nodinite: extracts the [Message Type][Message Types] Name, else, please use [Context Options][] and send as **simpleContent**|  
|:fa-paperclip:|```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||  

>[!TIP]
>Use the :Nodinite: [Context Options][] to override default behaviour

### 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>:fa-arrow-up-right-from-square:</sup>

|Mandatory|Data Type|Field|Path|Value|  
|:---:|:---:|---|---|---|  
|:fa-paperclip:|```string```|LogAgentValueId|N/A|[Configuration file][Configuration]|  
|:fa-paperclip:|```string```|EndPointName|event/eventPointData/eventData/eventIdentity/@eventName|MQInput event|  
|:fa-paperclip:|```string```|EndPointUri|event/eventPointData/eventData/@eventSourceAddress|MQInput1.terminal.in</br>**NOTE**: Ensure the Monitoring profile listens to the "right" side of the IIB shape|  
|:fa-paperclip:|```number```|[EndPointDirection][Endpoint Directions]|event/eventPointData/eventData/@eventSourceAddress|From Terminal shape .in=0, .out = 1, no match = -2|  
|:fa-paperclip:|```number```|[EndPointTypeId][EndpointTypes]|N/A|41|  
|:fa-paperclip:|```string```|OriginalMessageTypeName|"Monitoring Event"|Hardcoded, unless the payload is XML; Then :Nodinite: extracts the [Message Type][Message Types] Name, else, please use [Context Options][] and send as **simpleContent**|  
|:fa-paperclip:|```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||  

>[!NOTE]
>If ServiceInstanceActivityId is not a GUID, then the value is in the Context collection with the **ThreadId** as the key.

>[!TIP]
>Use the :Nodinite: [Context Options][] to override default behaviour

### SimpleContent

The following **simpleContent** will be converted to :Nodinite: **Context Properties** (Key Value pairs):

>[!INFO]
>The wmb prefix is just a prefix, it can be different in your instance/examples and you can use the :Nodinite: [Context Options][] to override default behaviour

#### 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 :Nodinite:.

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

##### :fa-arrows-left-right: 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 :Nodinite: **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>

>[!TIP]
>Use the [Formula][] plugin to extract values from **ComplexContent** context properties!

#### ExceptionList

If you have a Monitoring Profile that catches the error information as `ExceptionList` in the **ComplexContent** element then :Nodinite: will replace any existing body with this XML content. The **LogStatus code** if not overridden will be set to **-2**.

>[!INFO]
>The name of the **ComplexContent** element does **not** matter when the content is `ExceptionList` xml data.

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**. :Nodinite: 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|
|---|---|
|:fa-key: `Environment.Monitoring.EventCorrelation.LocalTransactionId`|`123`|
|:fa-key: `Environment.Monitoring.EventCorrelation.ParentTransactionId`|`456`|
|:fa-key: `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 :Nodinite: [Log Event][].

>[!NOTE]
>:Nodinite: [IBM Integration Bus Logging Agent][] takes care of the RFH2 header automatically **if** it exists on the IBM MQ queue
---

## :fa-hand-point-right: 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 :Nodinite: including **IBM Monitoring Events**.

* :fa-key: [Context Options][] - Additional optional properties  
* :fa-box-archive: [Log Agents][] - Manage **Log Agents**  
* :fa-file: [Configure Message Types][Message Types] - Make your IBM Integration Bus data searchable and enable advanced features  

## :fa-link-horizontal: Related Topics

:fa-bolt: [Log Event][]  
:fa-file: [Message Types][]  
:fa-magnifying-glass-plus: [Search Fields][]  
:fa-stopwatch: [Non-Events Monitoring][]  
:fa-project-diagram: [BPM][]  
:fa-cog: [IBM Integration Bus Logging Agent][]  
:fa-wrench: [Configuration][]  
:fa-key: [Context Options][]  

[Add or manage Log View]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/Add%20or%20Manage%20Log%20View.md
[AI Diagnostics]:{ndr}/AI/AI%20Diagnostics.md
[BPM]:{ndr}/Repository%20Model/BPMs/Overview.md
[Configuration]:{ndr}/Logging%20and%20Monitoring/IBM%20Integration%20Bus/Getting%20started/3.%20Configuration.md
[Context Options]:{ndr}/Core%20Services/Log%20Event/Features/Context%20Options.md
[Endpoint Directions]:{ndr}/Core%20Services/Log%20Event/Features/Endpoint%20Directions.md
[EndpointTypes]:{ndr}/Core%20Services/Log%20Event/Features/Endpoint%20Types.md
[EventDirections]:{ndr}/Core%20Services/Log%20Event/Features/Event%20Directions.md
[Formula]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Formula/Overview.md
[IBM Integration Bus Logging Agent]:{ndr}/Logging%20and%20Monitoring/IBM%20Integration%20Bus/Overview.md
[IBM MQ IIB Logging]:{ndr}/Logging%20and%20Monitoring/IBM%20MQ/Features/IBM%20Integration%20Bus%20Logging.md
[Log Agents]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Agent.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Event Processing]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Status Codes]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Status%20Code.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Monitor Events]:{ndr}/Core%20Services/Monitoring%20Service/Features/What%20is%20a%20Monitoring%20Event.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[Monitoring Events]:{ndr}/Core%20Services/Monitoring%20Service/Features/What%20is%20a%20Monitoring%20Event.md
[Non-Events Monitoring]:{ndr}/Logging%20and%20Monitoring/Non-Events/Overview.md
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[Search Field Expressions]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Overview.md
[Search Fields]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/What%20is%20a%20Search%20Field.md