---
title: Configure Nodinite Pickup Service Logging Agent for Azure Event Hub Integration
description: Unlock seamless log event collection by configuring the Nodinite Pickup Service Logging Agent for Azure Event Hub. This guide provides step-by-step setup, best practices, and integration tips for secure, scalable, and reliable log event management, including checkpointing and storage.
---

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

# Azure Event Hub Configuration Example

Unlock seamless integration 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 Event Hub. This guide empowers you to set up secure, scalable, and reliable log event collection for your enterprise systems, with robust checkpointing and storage for compliance and analytics.  

✅ Effortless integration with Azure Event Hub  
✅ Secure and reliable log event collection  
✅ Scalable setup for enterprise environments  
✅ Robust checkpointing and long-term storage  

<div class="mermaid">
graph TD
    subgraph "Azure Event Hub"
        storage("fa:fa-boxes Storage Container")
        roS("fa:fa-border-outer Event Hub Entity")
    end
    subgraph "Nodinite instance"
        roPS("fa:fa-truck-pickup Pickup Service")
        roS --> roPS
        roPS --- | Checkpoint | storage  
        roPS --> | Long term storage | roDB("fa:fa-database Log Database")  
    end
</div>

*The diagram above illustrates how 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] interacts with Azure Event Hub entities, processes messages, and stores them in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Database][Log Databases]. The Storage Container is used for checkpointing to ensure reliable message processing.*  

## <i class="fal fa-border-outer" aria-hidden="true"></i> Event Hubs

The **Event Hubs** section lets you manage all Azure Event Hub sources for your log events.

In the [Remote Configuration][] GUI, navigate to the **Event Hubs** tab. Here, you can add, edit, or remove Event Hub 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 Event Hub entity.

![Event Hub Configuration Tab][1]  
*Example of the Event Hub configuration tab in the [Remote Configuration][] GUI.*

Click the **Add** button to create a new Event Hub configuration. Fill in the required fields, such as Event Hub entity name, storage container for checkpointing, and authentication credentials. You can also configure Azure AD authentication for enhanced security.

![Event Hub Configuration Accordion][2]  
*Example of an Event Hub configuration accordion in the [Remote Configuration][] GUI.*

Expand the accordion for each Event Hub 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>Assign a unique storage container to each Event Hub entity. Sharing containers will overwrite checkpoints and disrupt logging operations.</p></div>
</aside>

### General tab

The **General tab** provides the fundamental settings for your Event Hub configuration within the [Remote Configuration][] GUI.  
  ![General Tab][3]  
  *The General tab contains basic settings for the Event Hub configuration, including enabling/disabling the configuration and providing descriptive information.*

The following key fields control the Event Hub configuration:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|<i class="fal fa-toggle-on" aria-hidden="true"></i> **Enabled**|Checkbox to activate or deactivate this Event Hub 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 Event Hub 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 Event Hub configuration|No|Helps document the purpose and details of this specific entity setup|  

Follow these guidelines when configuring the General tab:

* Use descriptive names that clearly indicate the Event Hub entity and purpose (e.g., "Production Event Hub - Order Events")
* In the Description field, note important details such as the entity'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 consuming messages

### Source tab

The **Source tab** contains the Event Hub entity configuration and storage checkpoint settings.  
  ![Source Tab][4]  
  *The Source tab contains settings for connecting to the Azure Event Hub entity and configuring checkpoint storage.*

The following key fields must be configured for Event Hub connectivity:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|<i class="fal fa-code-branch" aria-hidden="true"></i> **Event Hub Name**|The name of the Azure Event Hub entity to connect to|✅ Yes|The entity must exist in your Event Hub namespace and contain [JSON Log Events][JSON Log Event]|  
|<i class="fal fa-boxes" aria-hidden="true"></i> **Storage Container**|Name of the Azure Storage container used for checkpointing|✅ Yes|Checkpoints track message processing progress; use a unique container per Event Hub entity|  

Follow these guidelines when setting up the Source tab:

* Ensure the specified Event Hub entity exists in your Event Hub namespace before enabling this configuration
* Use a descriptive Event Hub entity name that reflects the type of events it receives (e.g., `order-events`, `integration-logs`)
* Always use a unique, dedicated storage container for each Event Hub entity to prevent checkpoint conflicts
* The storage container must exist in the same Azure Storage Account specified in the Authentication tab
* For optimal performance, use standard storage account tiers for checkpoint storage
* Test the configuration with a single Event Hub entity before scaling to multiple sources

### Destination tab

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

### Authentication tab

The **Authentication tab** contains the credentials required to connect to and authenticate with your Azure Event Hub and Storage Account. This tab has two sub-sections: **Event Hub Authentication** and **Storage Authentication**.  
  ![Authentication Tab][7]  
  *The Authentication tab contains settings for connecting to Azure Event Hub and Storage Account, including authentication options.*

#### Event Hub Authentication

Configure the credentials for connecting to your Azure Event Hub entity. Use the connection string method when "Use App Registration" is unchecked:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|<i class="fal fa-plug" aria-hidden="true"></i> **Event Hub [Connection String][Connection Strings]**|Full connection string for Azure Event Hub|✅ Yes|Include Entity Path; format: `Endpoint=sb://xxx.servicebus.windows.net/;SharedAccessKeyName=xxx;SharedAccessKey=xxx;EntityPath=xxx`|  
|<i class="fal fa-toggle-on" aria-hidden="true"></i> **Enable AMQP Redirect**|Checkbox to enable AMQP link redirect|No|Controls the EnableAmqpLinkRedirect property; useful for certain network configurations|  

Use the Azure AD App Registration method when "Use App Registration" is checked:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|<i class="fal fa-building" aria-hidden="true"></i> **Tenant ID**|Azure AD Tenant ID (GUID)|✅ Yes|The directory ID where the App Registration is created|  
|<i class="fal fa-server" aria-hidden="true"></i> **Host Name**|Event Hub namespace host name|✅ Yes|Format: `your-namespace.servicebus.windows.net`|  
|<i class="fal fa-id-badge" aria-hidden="true"></i> **Client ID**|Azure AD App Registration Client ID|✅ Yes|The public identifier for the registered application|  
|<i class="fal fa-key" aria-hidden="true"></i> **Client Secret**|Azure AD App Registration Client Secret|✅ Yes|The confidential key for application authentication; keep this secure|  

Follow these guidelines for connection string authentication:

* Use connection string authentication for straightforward setups without Azure AD requirements
* Keep connection strings secure and never commit them to version control
* Ensure the connection string includes the `EntityPath` parameter with your Event Hub entity name
* Enable **Enable AMQP Redirect** if you encounter firewall or proxy issues with standard AMQP connections

Follow these guidelines for Azure AD App Registration authentication:

* Use Azure AD App Registration for enhanced security and to avoid storing shared keys directly
* Ensure your Azure AD tenant has the App Registration created with appropriate permissions
* Grant the App Registration the "Azure Event Hubs Data Receiver" role on the Event Hub namespace
* Keep Client Secret values secure and regenerate them periodically
* The Tenant ID is required for Azure AD authentication; ensure it matches your organization's Azure AD tenant

#### Storage Authentication

Configure the credentials for connecting to your Azure Storage Account (used for checkpointing). Use the storage account key method when "Use App Registration" is unchecked:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|<i class="fal fa-boxes" aria-hidden="true"></i> **Storage Account Name**|Name of the Azure Storage Account|✅ Yes|Example: `mystorageaccount` (without `.blob.core.windows.net`)|  
|<i class="fal fa-key" aria-hidden="true"></i> **Storage Account Key**|Storage Account access key|✅ Yes|Primary or secondary key from the Storage Account|  

Use the Azure AD App Registration method when "Use App Registration" is checked:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|<i class="fal fa-boxes" aria-hidden="true"></i> **Storage Account Name**|Name of the Azure Storage Account|✅ Yes|Example: `mystorageaccount` (without `.blob.core.windows.net`)|  
|<i class="fal fa-building" aria-hidden="true"></i> **Tenant ID**|Azure AD Tenant ID (GUID)|✅ Yes|The directory ID where the App Registration is created|  
|<i class="fal fa-id-badge" aria-hidden="true"></i> **Client ID**|Azure AD App Registration Client ID|✅ Yes|The public identifier for the registered application|  
|<i class="fal fa-key" aria-hidden="true"></i> **Client Secret**|Azure AD App Registration Client Secret|✅ Yes|The confidential key for application authentication; keep this secure|  

Follow these guidelines for storage account key authentication:

* Use storage account key authentication for straightforward setups without Azure AD requirements
* Keep storage account keys secure and never commit them to version control
* Rotate storage account keys periodically for enhanced security
* The Storage Account Name must match the account where your checkpoint container is located

You can find the **StorageAccountName** in the Azure Portal as shown below:  
  ![Storage Account Name][9]  
  *Example of how to find the Storage Account Name in the Azure Portal.*

### Storage Account Keys

You can find the **StorageAccountKey** in the Azure Portal as shown below:  
  ![Access Keys][10]  
  *Example of how to find the Storage Account Keys in the Azure Portal.*

<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>Use the value from a <strong>Key</strong>, not the connection string.</p></div>
</aside>

Follow these guidelines for Azure AD App Registration authentication:

* Use Azure AD App Registration for enhanced security and to avoid storing storage keys directly
* Ensure your Azure AD tenant has the App Registration created with appropriate permissions
* Grant the App Registration the "Storage Blob Data Contributor" role on the Storage Account
* Keep Client Secret values secure and regenerate them periodically
* Tenant ID and Client credentials are required for Azure AD authentication

Implement these security best practices for your Event Hub configuration:

* Use separate credentials for development, staging, and production environments
* Implement Azure RBAC (Role-Based Access Control) to limit access to Event Hub and Storage resources
* Regularly review access permissions and remove unused accounts or apps
* Monitor audit logs in Azure to detect unusual access patterns
* For production environments, prefer Azure AD App Registration authentication over connection strings and storage keys when possible
* When using connection strings or storage keys, consider rotating them according to your security policies
* Keep all credentials secure and use Azure Key Vault to manage sensitive values centrally

### 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][8]  
  *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
{
  ...
  "EventHubs": [
    {
      "Enabled": true,
      "LogAPI": "https://nodinite.contoso.com:40002/LogAPI/",
      "UseConfigurationDatabase": false,
      "ConfigurationDatabaseConnectionString": null,
      "EventHubConnectionString": "Endpoint=sb://replaceme.servicebus.windows.net/;SharedAccessKeyName=somename;SharedAccessKey=replaceme-1337=;EntityPath=replaceme",
      "EventHubName": null,
      "StorageContainerName": "event-hub-replaceme",
      "StorageAccountName": "replaceme",
      "StorageAccountKey": "replaceme-42=",
       "ReplaceRules": [
        {
          "Name": "Fix Endpoint real customer id to {customerId}",
          "ReplaceName": false,
          "ReplaceUri": true,
          "Pattern": "/([0-9]{4,})$",
          "Group1Value": "{customerId}"
        }]
    }]
  ...                      
}
```

**EventHubs** is an **array** of EventHub configurations. Each entry defines how the [Log Agent][] connects to and processes messages from a specific Event Hub entity. 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> **EventHubConnectionString**|Connection string for EventHub|`Endpoint=sb://replaceme.servicebus.windows.net/;SharedAccessKeyName=[KeyName];SharedAccessKey=[Key];EntityPath=[EntityPathName]`||  
|<i class="fal fa-toggle-on" aria-hidden="true"></i> **EnableAmqpLinkRedirect**|Controls the `EnableAmqpLinkRedirect` property|**true** (default) - currently not honoured|See [more info](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/service-bus-messaging/service-bus-amqp-protocol-guide.md)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|<i class="fal fa-code-branch" aria-hidden="true"></i> **EventHubName**|Name of the EventHub||If `EntityPath=[EntityPathName]` is not in the connection string, provide the name here|  
|<i class="fal fa-boxes" aria-hidden="true"></i> **StorageAccountName**|Storage Account Name for checkpointing||See the Storage Account Name section below|  
|<i class="fal fa-key" aria-hidden="true"></i> **StorageAccountKey**|Access key to the storage account||See the Storage Account Keys section below|  
|<i class="fal fa-globe" aria-hidden="true"></i> **WebProxy**|Proxy|1.3.3.7:1337|Sets the `EventProcessorOptions.WebProxy` property. When in use, also set `TransportType = EventHubsTransportType.AmqpWebSockets`|  
|<i class="fal fa-boxes" aria-hidden="true"></i> **StorageContainerName**|Name of the storage container for checkpointing||Checkpoints are used and written to storage|  
|<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>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> after making configuration changes to apply your updates.</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 Event Hub integration  
* <i class="fal fa-book" aria-hidden="true"></i> [Remote Configuration Guide][Remote Configuration] - Learn the GUI setup process  
* <i class="fal fa-shield-halved" aria-hidden="true"></i> [Azure Application Access - Least Privileges][AzureApplicationsAccessLP]  

## <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  
* <i class="fal fa-cloud" aria-hidden="true"></i> [API Management Logging with Event Hub][Event Hub Policy]  
* <i class="fal fa-coins" aria-hidden="true"></i> [Azure Costs for Blob Storage and Event Hub][] - Cost drivers and how to lower them  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/EH/EventHubsTab.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/EH/EmptyAccordionTab.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/EH/GeneralTab.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/EH/SourceTab.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/EH/AuthenticationTab.png
[8]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/EH/ReplaceRulesTab.png
[9]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/StorageAccountName.png
[10]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/StorageAccessKeys.png

[Azure Costs for Blob Storage and Event Hub]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/azure-costs-for-blob-storage-and-event-hub/
[AzureApplicationsAccessLP]:https://docs.nodinite.com/install-and-update/troubleshooting/azure/azure-application-access-least-privileges/
[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
[Event Hub Policy]:https://docs.nodinite.com/logging-and-monitoring/azure-api-management/policy/event-hub/
[JSON Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log Agent]: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/
[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
[Shared Configuration]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/#fa-circles-overlap-shared-configuration