---
title: Configure Nodinite Pickup Service Logging Agent for Azure Service Bus Queue Integration
description: Configure the Nodinite Pickup Service Logging Agent to collect custom Log Events from Azure Service Bus Queues. This guide provides step-by-step setup, best practices, and integration tips for secure, scalable, and reliable log event collection from Azure Service Bus.
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/14" data-url="https://portal.nodinite.com/marketplace/14"><i class="fal fa-fw fa-file-alt" aria-hidden="true"></i> Release Notes</a>

# <i class="fal fa-edit" aria-hidden="true"></i> Service Bus Queue Configuration Example

Easily integrate your enterprise systems by configuring the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Logging Service][Pickup Service] to fetch [JSON Log Events][JSON Log Event] directly from your Azure Service Bus Queues. This guide empowers you to set up secure, scalable, and reliable log event collection for your organization using [Azure Service Bus][].  

✅ Seamless integration with Azure Service Bus for real-time log event collection  
✅ Secure and compliant long-term storage of log data  
✅ Scalable configuration for enterprise environments  
✅ Automated error handling and message validation for reliable operations  

<div class="mermaid">
graph TD
    subgraph "Azure Service Bus"
        roS("fa<i class="fal fa-list" aria-hidden="true"></i> Queue")
        roDLQ("fa<i class="fal fa-skull-crossbones" aria-hidden="true"></i> Dead Letter Queue")
    end
    subgraph "Nodinite instance"
        roPS("fa<i class="fal fa-truck-pickup" aria-hidden="true"></i> Pickup Service")
        roPS -.-> | Bad/invalid messages | roDLQ  
        roS --> roPS
        roPS --> | Long term storage | roDB("fa<i class="fal fa-database" aria-hidden="true"></i> Log Database")  
    end
    style roS fill:#2678BD
    style roDLQ fill:#c33d34
    style roPS fill:#93d16d
    style roDB fill:#93d16d
</div>

*Diagram: Azure Service Bus Queue integration showing message flow from queue to Pickup Service, with color-coded components (blue=queue, green=healthy/active services, red=dead letter queue for failed messages). Invalid messages are routed to the Dead Letter Queue for review.*  

## <i class="fal fa-list" aria-hidden="true"></i> Service Bus Queues

The **Service Bus Queues** section lets you manage all Azure Service Bus Queue sources for your log events.

In the [Remote Configuration][] GUI, navigate to the **Service Bus Queues** tab. Here, you can add, edit, or remove Service Bus Queue configurations. Each configuration defines how the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Logging Service][Pickup Service] connects to and processes messages from a specific Azure Service Bus Queue.

![Service Bus Queues Configuration Tab][1]  
*Example of the Service Bus Queues configuration tab in the [Remote Configuration][] GUI.*

Click the **Add** button to create a new Service Bus Queue configuration. Fill in the required fields, such as connection string and queue name settings. You can also configure Replace Rules for advanced message processing.

![Service Bus Queue Configuration Accordion][2]  
*Example of a Service Bus Queue configuration accordion in the [Remote Configuration][] GUI.*

Expand the accordion for each Service Bus Queue configuration to access advanced settings, including [Replace Rules][ReplaceRules] for message processing. These rules allow you to modify message content before it's stored in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, ensuring consistency and compliance with your logging standards.

<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>Ensure that your Service Bus Queue connection string has the necessary permissions (Manage, Send, Listen) and that the queue exists in your Azure Service Bus namespace. Test connectivity before enabling a configuration.</p></div>
</aside>

### General tab

The **General tab** provides the fundamental settings for your Service Bus Queue configuration within the [Remote Configuration][] GUI.  
  ![General Tab][3]  
  *The General tab allows you to enable/disable the configuration and provide a display name and description.*

The following key fields are required:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|<i class="fal fa-toggle-on" aria-hidden="true"></i> **Enabled**|Checkbox to activate or deactivate this Service Bus Queue configuration|No|When unchecked, the Pickup Service will skip this configuration|  
|<i class="fal fa-tag" aria-hidden="true"></i> **Display Name**|User-friendly name for this Service Bus Queue source configuration|✅ Yes|Used in the GUI and logs for easy identification|  
|<i class="fal fa-align-left" aria-hidden="true"></i> **Description**|Optional detailed description of the Service Bus Queue configuration|No|Helps document the purpose and details of this specific queue setup|  

Follow these guidelines when configuring the General tab:

* Use descriptive names that clearly indicate the queue and purpose (e.g., "Production Queue - Order Events")
* In the Description field, note important details such as the queue's business purpose, owner contact, or any special processing notes
* The Display Name appears throughout the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> interface, so keep it concise yet meaningful
* Leave the configuration disabled during initial setup if you're not ready to start collecting log events

### Source tab

The **Source tab** contains the Service Bus connection configuration and queue settings.  
  ![Source Tab][4]  
  *The Source tab contains settings for connecting to Azure Service Bus.*

The following key fields must be configured for queue connectivity:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|<i class="fal fa-plug" aria-hidden="true"></i> [Connection String][Connection Strings]|Service Bus connection string with authentication|✅ Yes|Example: `Endpoint=sb://yournamespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=yourkey`|  
|<i class="fal fa-inbox" aria-hidden="true"></i> **Queue**|Name of the Service Bus Queue to consume messages from|✅ Yes|Specify only the queue name (e.g., "pickup", "log-events")|  
|<i class="fal fa-box-archive" aria-hidden="true"></i> **Backout Queue**|Name of the backout queue where failed or invalid messages are moved|No|The Pickup Service automatically moves messages that fail processing to this queue for review and troubleshooting|  

Follow these guidelines when setting up the Source tab:

* Ensure your connection string includes the necessary permissions (Manage, Send, Listen at minimum)
* Connection strings can be copied from the Azure portal under Shared Access Policies
* Use connection strings with the fully qualified namespace (yournamespace.servicebus.windows.net)
* Test the connection before enabling to verify credentials and queue accessibility
* For multiple queues, create separate configurations for each queue
* Configure a Backout Queue to capture failed or invalid messages for troubleshooting
* Monitor both the input queue and backout queue health using the [Message Queueing Agent][] to track queue depth, message age, and performance metrics
* The backout queue should exist in the same Service Bus namespace as the source queue
* Keep connection strings secure and never embed them in documentation or version control
* For production environments, prefer Azure AD App Registration authentication over shared access keys for enhanced security and auditability

### Destination tab

The **Destination tab** settings are shared across all source configurations. See [Destination Tab][] in the shared configuration guide.

### Queue Authentication tab

The **Queue Authentication tab** provides authentication configuration options for connecting to Azure Service Bus.  
  ![Queue Authentication Tab][6]  
  *The Queue Authentication tab allows you to configure credentials for Service Bus access.*

The following authentication methods are supported:

|Authentication Method|Use Case|Configuration|  
|---|---|---|  
|<i class="fal fa-key" aria-hidden="true"></i> **Shared Access Key**|Development and testing environments|Connection string with SharedAccessKeyName and SharedAccessKey|  
|<i class="fal fa-user-shield" aria-hidden="true"></i> **Managed Identity**|Production environments with Azure AD integration|Use App Registration (client credentials) with Tenant ID, Client ID, and Client Secret|  
|<i class="fal fa-id-badge" aria-hidden="true"></i> **Azure AD App Registration**|Enterprise environments requiring identity-based access|Provide credentials issued by your Azure AD tenant|  

Follow these security guidelines for Queue Authentication:

* For production environments, prefer Managed Identity over shared access keys
* When using App Registration, ensure the application has the appropriate Service Bus roles assigned
* Regularly rotate credentials and access keys
* Use the principle of least privilege when assigning permissions
* Store sensitive credentials securely using [Secret Management][] features
* Test authentication configuration before enabling the source

### Replace Rules

Read about [Replace Rules][ReplaceRules] in the shared configuration section. Replace Rules allow you to modify message content before it's stored in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, ensuring consistency and compliance with your logging standards.
  ![Replace Rules Tab][7]  
  *The Replace Rules tab allows you to configure rules for modifying message content.*

## <i class="fal fa-file" aria-hidden="true"></i> Configuration file  

<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>This section applies for <strong>older</strong> versions (&lt;7.1.x) of 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/logging-and-monitoring/pickup-logevents-service/overview/">Pickup Log Events Logging Service</a>.</p></div>
</aside>

```cmd
C:\Program Files\Nodinite\Logging Agent - Pickup Service\Settings.json
```

```json
{
  ...
  "ServiceBusQueues": [
    {
      "Enabled": true,
      "LogApi": "https://nodinite.contoso.com:40002/LogAPI/",
      "UseConfigurationDatabase": false,
      "ConfigurationDatabaseConnectionString": null,
      "ConnectionString": "Endpoint=sb://nodinite.com/servicebus.windows.net/;SharedAccessKeyName=yoursecretkey;SharedAccessKey=ib2+ofZaFyEhbwzgn1nAhw2XDY3UVc1JefdlGgLGIbb=",
      "Queue": "pickup",
      "ReplaceRules": [
        {
          "Name": "Fix Endpoint real customer id to {customerId}",
          "ReplaceName": false,
          "ReplaceUri": true,
          "Pattern": "/([0-9]{4,})$",
          "Group1Value": "{customerId}"
        }
      ]
    }
  ]
  ...                      
}
```

**ServiceBusQueues** is an **array** of ServiceBusQueue configurations. Each entry defines how the [Log Agent][Log Agents] connects to and processes messages from a specific Azure Service Bus Queue. This setup ensures your <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JSON Log Events][JSON Log Event] are reliably collected and managed.  

|Property|Description|Value Example|Comment|  
|---|---|---|---|  
|<i class="fal fa-plug" aria-hidden="true"></i> **ConnectionString**|Service Bus Connection string|`Endpoint=sb://nodinite.com/servicebus.windows.net/;SharedAccessKeyName=yoursecretkey;SharedAccessKey=replaceme`|Copy from the Azure portal|  
|<i class="fal fa-inbox" aria-hidden="true"></i> **Queue**|Name of the Service Bus Queue to pick up [JSON Log Event][] from||**NOTE:** Only the queue name|  
|<i class="fal fa-toggle-on" aria-hidden="true"></i> **Enabled**|See the [Shared Configuration][] section for more info|||  
|<i class="fal fa-link" aria-hidden="true"></i> [LogAPI][Log API]|See the [Shared Configuration][] section for more info|||  
|<i class="fal fa-database" aria-hidden="true"></i> **UseConfigurationDatabase**|See the [Shared Configuration][] section for more info|||  
|<i class="fal fa-plug" aria-hidden="true"></i> **ConfigurationDatabaseConnectionString**|See the [Shared Configuration][] section for more info|||  
|<i class="fal fa-exchange-alt" aria-hidden="true"></i> **ReplaceRules**|See the shared [Replace Rules][ReplaceRules] section for more info|||  

<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>When you are done editing the configuration, you must restart 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/logging-and-monitoring/pickup-logevents-service/overview/">Pickup Logging Service</a> for configuration changes to take effect.</p></div>
</aside>

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

* <i class="fal fa-cog" aria-hidden="true"></i> [Configure][Configuration] - Set up your Service Bus Queue integration  
* <i class="fal fa-book" aria-hidden="true"></i> [Remote Configuration Guide][Remote Configuration] - Learn the GUI setup process  

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

* <i class="fal fa-file-code" aria-hidden="true"></i> [JSON Log Event][] - Message format specification  
* <i class="fal fa-exchange-alt" aria-hidden="true"></i> [Replace Rules][ReplaceRules] - Transform message content  
* <i class="fal fa-database" aria-hidden="true"></i> [Log Databases][] - Where log events are stored  
* <i class="fal fa-plug" aria-hidden="true"></i> [Log API][] - REST endpoint for log events  
* <i class="fal fa-info-circle" aria-hidden="true"></i> [Pickup Service Overview][Pickup Service] - Feature overview  
* <i class="fal fa-puzzle-piece" aria-hidden="true"></i> [Shared Configuration][Shared Configuration] - Common settings guide  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/SB/ServiceBusQueues.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/SB/EmptyAccordionTab.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/SB/GeneralTab.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/SB/SourceTab.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/SB/AuthenticationTab.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/SB/ReplaceRulesTab.png

[Azure Service Bus]:https://docs.nodinite.com/logging-and-monitoring/message-queueing/features/azure-service-bus-queues/monitoring-azure-service-bus-queue/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/
[Connection Strings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[Destination Tab]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/#fa-right-from-bracket-destination-tab
[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 API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Message Queueing Agent]:https://docs.nodinite.com/logging-and-monitoring/message-queueing/overview/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Remote Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/
[ReplaceRules]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/#fa-exchange-alt-replace-rules-clean-up-your-dynamic-endpoints-automatically
[Secret Management]:https://docs.nodinite.com/install-and-update/troubleshooting/secret-managment/
[Shared Configuration]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/#fa-circles-overlap-shared-configuration