---
title: Enable Logging of Boomi Integrations with Nodinite.
description: Learn how to enable Logging to Nodinite from the Boomi Integration platform
---

# How to enable Logging from Boomi Integration solutions to Nodinite

>Learn how to perform [Asynchronous Logging][] from Boomi Integration to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

You must add a custom logging code to your Boomi Integration components to enable logging business transactions to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

<div class="mermaid">
graph LR
    subgraph "Boomi Integration Component"
        roBroker(fal:fa-brackets-curly Reusable generic logging component)-->roSink(fal:fa-file-export Intermediate storage )
    end
    subgraph "Nodinite instance"
        roPS(fal:fa-truck-pickup Pickup Service) -->roNI(fal:fa-cloud-arrow-down Log API)
        roSink --> roPS
    end
</div>  

Enable self-service [Log Views][] for your business by implementing the following:  

✅ Payload logging  
✅ Context logging (key-value)  
✅ Process execution logging from selected components (any number)

_______________

# Step by step guide

Follow the steps outlined below.

In your Boomi Integration components, make sure to add custom logging (regardless of the target). Typically this is done using the **Reusable generic logging component** or other similar frameworks depending on your design, policy and needs

<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>Make sure your Logging strategy is not vendor-specific. Your Logging logic should be easy to enable/disable and it should be possible to manage the log destinations without redesigning the solutions already in production.</p></div>
</aside>

<div class="mermaid">
graph LR
    subgraph "Systems Integrations Solutions"
    roStrategy(fal:fa-lightbulb-on Logging Strategy) --> roBroker{fal:fa-brackets-curly Reusable</br>Generic Logging logic}
    roBroker --> | Nodinite JSON Log Event | roSink(fal:fa-file-export Intermediate storage )  
    roBroker -.->|"The other format(s)"| ro2["Other Log destination(s)"]  
    end
    subgraph "Nodinite instance"
        roPS(fal:fa-truck-pickup Pickup Service) -->roNI(fal:fa-cloud-arrow-down Log API)
        roSink --> roPS
    end
</div>

![Logging Components][1]  
*Generic logging in Boomi component.*

## 1. Setup the Log properties structure

From selected components, you will eventually perform Logging. The Logging is individual to each process, and you need a common defined structure to be applied when Logging.

To create this structure, follow the steps below:  

![Add new folder structure][4]  

1. Navigate to the **Build** tab  
2. In the main tree, you can either re-use or create a new folder structure for the reusable properties shape  
3. If you are not re-using an existing folder structure; Create a new folder  

Then, click on the **New** button.  
![New button][5]  

This opens the **Create Component** modal.  
![Create Component][6]

1. Select **Process Property**
2. Name the generic log structure (i.e. `LogProperties`)
3. Select the destination folder
4. Click the **Create** button

Next, you must add the common set of properties required as part of your Logging strategy.
Open the newly created `LogProperties` component.

![Open LogProperties component][7]  

In the **Edit Properties** page, add the set of properties your logging strategy requires.

![Set default Properties][8]  
*List of common properties used for <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Logging*  

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Logging requires the following properties. You can either add other properties of interest to the existing definition of a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JSON Log Event][], or add them to the generic key-value collection (Context).

|Mandatory|Data Type|Field|Value|Comment|Boomi specific|  
|:---:|:---:|---|---|---|---|  
|✅ Yes|```number```|LogAgentValueId|42|Who ([Log Agents][]) sent the data|From the groovy script|  
|✅ Yes|```string```|EndPointName|`INT101: Receive Hello World Log Events`|Name of [Endpoint][Endpoints] transport|Set in the flow component where the name of the endpoint is known|  
|✅ Yes|```string```|EndPointUri|`C:\DropArea\in`|Uri for [Endpoint][Endpoints] transport|Set in the flow component where the Uri is known|  
|✅ Yes|```number```|[EndPointDirection][Endpoint Directions]|0|Direction for [Endpoint][Endpoints] transport|Define the property with a a pre-defines set of allowed values</br>![Endpoint directions][9]|  
|✅ Yes|```number```|[EndPointTypeId][EndpointTypes]|0|Type of [Endpoint][Endpoints] transport|Define as number, and set as defined by <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> standard</br>![EndpointTypeIds][10]|  
|✅ Yes|```string```|OriginalMessageTypeName|`https://nodinite.com/Customers/1.0#Batch`|[Message Type Name][Message Types]|Set in the flow component where the message type is known|  
|✅ Yes|```string```|LogDateTime|"2018-05-03T13:37:00.123Z"|Client Log datetime (UTC format)|Set by the generic reusable map described later|  

Some of these properties, including the optional payload are set in the mapping stage that comes later in this guide.

1. From the **Build** section; Add a **Set Properties** shape to your workflow (component).  
    ![Add a Set Properties shape][2]  
2. Click the **Configure** button.  
    ![Configure Set Properties Shape button][3]  
3. Add the **Generic reusable logging component** to your workflow (component).  
    >This component is detailed in the next step  

### 2. Convert the logged event to Nodinite format

Next, you must create the **Generic reusable logging component**. In this guide, we help you create, and write a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JSON Log Event][] to the local file system as the intermediate storage.

![Reusable Logging Component][11]

1. In your folder structure; Create a new Component, name it `Reusable Generic Logging Component`
2. <p>Set the <strong>Start shape</strong> properties</p>
   <ol type="a">
   <li>Name it "<code>Logger</code>"</li>
   <li>Set the <strong>Type</strong> to <strong>Data Passthrough</strong><br>
   <img src="https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/StartShapeLogger.png" alt="Start shape" class="nodinite-zoom"></li>
   </ol>
3. <p>Add a <strong>Data Process shape</strong> to convert the payload to a base64encoded internal<br>
   <img src="https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/Base64EncodeDataShape.png" alt="Convert to base64" class="nodinite-zoom"></p>
   <ol type="a">
   <li>Name it "<code>Base64Encode payload</code>"</li>
   <li>Set the <strong>Process Type</strong> to <strong>Custom Scripting</strong></li>
   <li>Set the <strong>Script Source</strong> to <strong>Inline Scripting</strong></li>
   <li>Select <strong>Groovy 1.5</strong></li>
   <li>Set the <strong>Script</strong> to:</li>
   </ol>

    ```groovy
    import java.util.Properties;
    import java.io.InputStream;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.TimeZone;

    for( int i = 0; i < dataContext.getDataCount(); i++ ) {
        InputStream is = dataContext.getStream(i);
        Properties props = dataContext.getProperties(i);
        def inputDataString = is.getText("UTF8").bytes.encodeBase64().toString();
        dataContext.storeStream(new ByteArrayInputStream(inputDataString.getBytes()), props);
    }
    ```

4. In sequence; Add a **Map Shape**  
    ![Map Shape][14]  

5. <p>Edit the Map</p>
   <ol type="a">
   <li>Set the <strong>Body</strong> using the <strong>Data Process Shape</strong> from step 3</li>
   <li>Set the other properties using the <strong>Log Properties</strong> record (uniquely populated with data from the component-designer for selected flows)
   <img src="https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/Transformation.png" alt="Transformation" class="nodinite-zoom"></li>
   </ol>

To uniquely identify the [Log Agent][Log Agents], you must provide a **LogAgentValueId**. To separate Logging from the different environments (e.g. Prod, Test, QA); It would be best to allow the **LogAgentValueId** (mandatory number) to be a configurable part of the Boomi Integration solution.

<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>Make sure to get the best out of the information you have. Map existing properties to the standard properties and attach context and payload as needed</p></div>
</aside>

<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: Set OriginalMessageTypeName for searchable data</strong></p><p>When creating your <a href="https://docs.nodinite.com/core-services/log-event/features/json-log-event/">JSON Log Event</a> in Boomi:</p><ol>
<li><a href="https://docs.nodinite.com/repository-model/message-types/overview/">Message Types</a> identify message formats (PurchaseOrder, Invoice, Shipment, CustomerUpdate, 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</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 Boomi Integrations 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 Boomi Integrations 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>

### 3. Send Event to intermediate storage

>Your intermediate storage should be close to the Boomi Integration installation (i.e. local) and highly available.

 Send the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JSON Log Event][] to the intermediate storage

1. In the sequence; Add a **Connector Shape**
2. Set the **Display Name**
3. Select **Connector** - in this case the [Disk][]
4. Select **Send** as **Action**
5. Name the **Connection** and set the destination path (e.g. `C:\temp\boomi\Log Files`)
6. Name the **Operation** and set the **New Disk Connector Operation** properties
    ![Disk Connector][16]  

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p>Do not log events <strong>synchronously</strong> to the Nodinite Log API. You should honour the asynchronous pattern using the Nodinite Pickup Service Agent.</p></div>
</aside>

* <i class="fal fa-arrow-to-right" aria-hidden="true"></i> [Asynchronous Logging][]  
* <i class="fal fa-truck-pickup" aria-hidden="true"></i> [Pickup Log Events Service Logging Agent][Pickup Service]  

### 4. Configure the Nodinite pickup Service

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service] can fetch the logged events from many intermediate storages, make sure to [configure][Pickup Service - Configuration] the agent according to the output in your Boomi logging.

### 5. Enable self-service from within Nodinite

Now that you have data logged inside <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, you can create [Role][Roles]-based [Log Views][] and invite your business to share insights and data from your logging.

_______________

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions

Boomi Integration Logging uses the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service].

Additional solutions to common problems and the FAQ for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service] exists in the [Pickup Troubleshooting][] user guide.

### <i class="fal fa-play" aria-hidden="true"></i> How do I get started?

First, read our [Asynchronous Logging][] user guide.

### <i class="fal fa-search-dollar" aria-hidden="true"></i> How do I access the Logged data?

Access to logged data for [Users][] is provided by the use of [Log Views][] with [Role][Roles]-based security.

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

* <i class="fal fa-arrow-to-right" aria-hidden="true"></i> [Asynchronous Logging][]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install Nodinite Pickup Service][Install Pickup Service]  
* <i class="fal fa-file" aria-hidden="true"></i> [Configure Message Types][Message Types] - Make your Boomi Integrations data searchable and enable advanced features  

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

* <i class="fal fa-search" aria-hidden="true"></i> [Log Views][]  
* <i class="fal fa-truck-pickup" aria-hidden="true"></i> [Pickup Log Events Service Logging Agent][Pickup Service]  
* <i class="fal fa-file" aria-hidden="true"></i> [Message Types][] - Critical for Search Field extraction from Boomi Integrations events  
* <i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> [Search Fields][] - Extract business data from Boomi Integrations messages  
* <i class="fal fa-stopwatch" aria-hidden="true"></i> [Non-Events Monitoring][] - Track message volumes and patterns  
* <i class="fal fa-project-diagram" aria-hidden="true"></i> [BPM][] - End-to-end process tracking across Boomi and other systems  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/LoggingComponents.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/AddSetPropertiesShape.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/ConfigureSetPropertiesShape.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/AddNewFolderStructure.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/NewButton.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/CreateComponentModal.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/OpenLogPropertiesComponent.png
[8]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/LogProperties.png
[9]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/EndpointDirectionValues.png
[10]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/EndPointTypeIds.png
[11]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/GenericLoggingComponentOverview.png
[12]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/Base64EncodeDataShape.png
[13]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/StartShapeLogger.png
[14]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/MapShape.png
[15]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/Transformation.png
[16]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Boomi/Logging/NewDiskOperation.png

[Asynchronous Logging]:https://docs.nodinite.com/core-services/log-api/features/asynchronous-logging/
[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[Disk]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/disk/
[Endpoint Directions]:https://docs.nodinite.com/core-services/log-event/features/endpoint-directions/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[EndpointTypes]:https://docs.nodinite.com/core-services/log-event/features/endpoint-types/
[Install Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/install/
[JSON Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log Event Processing]:https://docs.nodinite.com/core-services/log-event/overview/
[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/
[Non-Events Monitoring]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Pickup Service - Configuration]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/
[Pickup Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/troubleshooting/overview/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[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/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/