---
title: How to Configure the Nodinite Pickup Log Events Service Logging Agent - Complete Guide
description: Comprehensive guide to configuring the Nodinite Pickup Log Events Service Logging Agent. Learn how to set up, customize, and optimize your agent for true end-to-end logging and seamless integration with supported sources.
---

:ReleaseNotes(https://portal.nodinite.com/marketplace/14):  

# Configuration of the Nodinite Pickup Log Events Service Logging Agent  

This guide provides step-by-step instructions for configuring the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service]. With proper configuration, you can collect :Nodinite: [JSON Log Events][JSON Log Event] from any supported source, enabling true end-to-end logging and monitoring.  

![Pickup Log Events Service Configuration (7.1.0)][2]  
*Example of the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service] configuration interface in the :Nodinite: [Web Client][].*  

> **Before You Configure:** The Pickup Service retrieves Log Events from intermediate storage and forwards them to :Nodinite:. But **creating proper Log Events is your responsibility**. Each Log Event must include a valid [Message Type][Message Types] name—this determines which [Search Field Expressions][] extract your business data. Without it, your events are logged but your data remains unextracted and invisible to searches. Learn more about [Log Events and Message Types][Log Event Processing].

## Specific Configurations  

The agent supports the following specific configurations:  

* [ActiveMQs][]  
* [AMQP][] (Apache ActiveMQ Artemis and AMQP 1.0 compliant services)  
* [AnypointMQs][]  
* [BlobContainers][]  
* [EventHubs][]  
* [Folders][]  
* [MSMQs][] - **Not** available with version 7.1.x and later (deprecated)  
* [PostgreSQLs][]
* [Service Bus Queues][ServiceBusQueues]
* [SQLServers][]
* [Destination Tab](#fa-right-from-bracket-destination-tab)
* [AI Diagnostics](#fa-wand-magic-sparkles-ai-diagnostics)
* [Settings](#fa-cog-settings-tab)

>[!TIP]
>Use a matching :Nodinite: [Monitoring Agent][Monitoring Agents] to monitor the health and performance of the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service] and its configurations.

## :fa-wand-magic-sparkles: AI Diagnostics

:new7.0.4:

![AI Diagnostics Tab][4]  
*Example: [AI Diagnostics][] tab for Pickup Log Events Service Logging Agent configuration.*  

Enable **AI Diagnostics** to automatically analyze errors and warnings from monitored picked-up log events. When issues occur, AI Diagnostics provides intelligent root cause analysis and actionable recommendations to accelerate troubleshooting.

>[!TIP]
>Learn more about configuring and using AI-powered diagnostics in the [AI Diagnostics][] documentation.

## :fa-cog: Settings Tab

The **Settings** tab contains two sub-tabs with global settings that affect the internal behavior of the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service].

* :fa-cog: [Basic](#fa-cog-basic)
* :fa-lock: [Secret Management](#fa-lock-secret-management)

![Settings Tab (6.1.0)][3]  
*Example of the Settings tab in the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service] configuration interface.*  

### :fa-cog: Basic

* :fa-leaf: [Environment](#fa-leaf-environment)
* :fa-shield: [Allowed Hosts](#fa-shield-allowed-hosts)
* :fa-list: [Log Level](#fa-list-log-level)

#### :fa-leaf: Environment

Set the name of the target **environment** (for example, DEMO, TEST, QA, PROD). This feature is standard for all [Monitoring Agents][].

#### :fa-shield: Allowed Hosts

Specifies which **host headers** are accepted by the application. Use `*` to allow all hosts, or provide a semicolon-separated list of allowed hostnames (e.g., `example.com;*.example.com`). This is a security feature to prevent host header attacks.

#### :fa-list: Log Level

Select the **logging level for the agent** (e.g., Error, Warning, Information, Debug). This is used for diagnostics logs.

### :fa-lock: Secret Management

:new7.1:

For comprehensive guidance on securing sensitive data and managing certificates for the :Nodinite:  [Pickup Log Events Service Logging Agent][Pickup Service], see [Secret Management with Automatic Certificate Handling][Secret Management].

This includes:

* ✅ Automated certificate generation and lifecycle management
* ✅ Encryption of sensitive configuration data (connection strings, API keys, passwords)
* ✅ Service account password change support (v7+)
* ✅ Certificate expiration monitoring and auto-renewal

## :fa-right-from-bracket: Destination Tab

The **Destination tab** is identical across all [Pickup Log Events Service][Pickup Service] intermediate source configurations. It determines where processed log events are delivered after being picked up from the source.

Two delivery modes are available:

* :fa-link: **Log API** (default) – Events are forwarded through the :Nodinite: [Log API][] to the [Log Database][Log Databases]. Supports optional OAuth 2.0 authentication.
* :fa-database: **Use Configuration DB** – Events are written directly to the :Nodinite: [Configuration Database][ConfigDB], bypassing the Log API. Use for high-throughput scenarios where Log API overhead must be minimized.

### Log API (Default)

![Destination Tab][5]  
*Example of the Destination tab in the ActiveMQ source configuration, using the Log API (default, unprotected).*

![Destination Tab][7]  
*Example of the same Destination tab in the SQL Server source configuration — the content is identical regardless of source type.*

|Field|Description|Required|Notes|  
|---|---|---|---|  
|:fa-toggle-on: **Use Log API**|Enables forwarding events through the [Log API][]|✅ Yes|Uncheck only when enabling **Use Configuration DB** mode|  
|:fa-link: **Log API Base URL**|Base URL of your [Log API][] instance|✅ Yes|Example: `http://{host}:{port}/LogAPI/`|  
|:fa-shield-halved: **Protected**|Enables OAuth 2.0 authentication on the [Log API][] endpoint ([Protect Log API][])|No|Check when your Log API requires authentication|  
|:fa-id-badge: **Client ID**|Public identifier issued by your identity provider (IDP)|⚠️ Conditional|Required when Protected is checked|  
|:fa-key: **Client Secret**|Confidential key for authentication|⚠️ Conditional|Required when Protected is checked; store securely|  
|:fa-list-check: **Scope**|Space-separated list of access permissions|⚠️ Conditional|Required when Protected is checked. For Microsoft Entra ID: `api://<logapi-client-id>/.default`|  
|:fa-link: **IDP Token Endpoint**|URL for obtaining OAuth access tokens|⚠️ Conditional|Required when Protected is checked. For Microsoft Entra ID: `https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token`|  

![Destination Tab - Protected][6]  
*Example of the Destination tab with Protected (OAuth 2.0) authentication enabled.*

* For development environments, use unprotected URLs (e.g., `http://localhost:40002/LogAPI/`)
* For production, enable **Protected** and configure your OAuth 2.0 credentials with your identity provider. For Microsoft Entra ID, follow [Protect the Log API with OAuth 2.0 and Entra ID][Protect Log API]
* The IDP Token Endpoint must be network-reachable from the Pickup Service host
* Keep Client Secret values secure; never commit them to version control

### Use Configuration DB (Direct Write)

When **Use Configuration DB** is checked, log events bypass the Log API and are written directly to the :Nodinite: [Configuration Database][ConfigDB].

|Field|Description|Required|Notes|  
|---|---|---|---|  
|:fa-database: **Use Configuration DB**|Enables direct writes to the [Configuration Database][ConfigDB], bypassing the [Log API][]|No|Use only for high-throughput scenarios|  
|:fa-plug: **Config DB Connection String**|SQL Server [connection string][SQL Connection Strings] to the :Nodinite: [Configuration Database][ConfigDB]|⚠️ Conditional|Required when Use Configuration DB is checked. Uses **Microsoft.Data.SqlClient** with modern TLS defaults|  

![Destination Tab – Use Configuration DB][8]  
*Example of the Destination tab configured for direct write to the Configuration Database.*

>[!TIP]
>For connection string examples, certificate validation, [Always On Availability Groups][], and security best practices, see [SQL Server Connection Strings][SQL Connection Strings].

>[!WARNING]
>Direct database writes increase load on the Configuration Database. Only enable this when the Log API is a proven bottleneck.

## :fa-exchange-alt: Replace Rules – Clean Up Your Dynamic Endpoints Automatically

When services generate dynamic URLs or names (e.g., with IDs), you can quickly end up with hundreds of hard-to-track [Endpoints][]. This clutter makes monitoring and troubleshooting harder.

**Replace Rules** solve this.

With Replace Rules, you define simple patterns that automatically clean up and standardize endpoint names and URIs before they are logged. This makes your logs easier to read, your dashboards cleaner, and your entire system easier to manage.

>[!TIP]
>Use Replace Rules to prevent your environment from being flooded with meaningless endpoint variations.

:new7.x: Starting with version 7.x, Replace Rules are managed through the :Nodinite: [Web Client][]. The settings file is no longer edited manually.

On each intermediate storage configuration (e.g., ActiveMQ, File, Service Bus), you can define multiple Replace Rules. These rules apply to all endpoints processed by that configuration and you can manage  then from the [Remote Configuration][] feature in the :Nodinite: [Web Client][]. Click on the **Replace Rules** section to add, edit, or remove rules as needed.

![Replace Rules in Web Client][1]  
*Example of Replace Rules management in the :Nodinite: [Web Client][].*  

---

### How It Works

Replace Rules apply a regular expression ([RegEx][]) to the original value, then replace parts of it with readable placeholders. You can apply the rule to either the **name** or the **URI** of an endpoint — or both.

>:new6.0.1.0: Version 6.0.1.0 and later supports named groups in RegEx, making rules even more powerful.

---

### Replace Rules Table

|**Property**|**Description**|**Example Value**|  
|---|---|---|  
|:fa-tag: `Name`|Label to describe what the rule does|`Normalize customer endpoint URI`|  
|:fa-toggle-on: `ReplaceName`|Check to update the [Endpoint][Endpoints] **Name**|`true`|  
|:fa-toggle-on: `ReplaceUri`|Check to update the [Endpoint][Endpoints] **URI**|`true`|  
|:fa-filter: `Pattern`|[RegEx][] to match values you want to clean|`/([0-9]{4,})$` or use named groups|  
|:fa-pen-to-square: `Group1Value`|Value to insert instead of the matched part (leave blank if using named groups)|`{customerId}`|  

>[!WARNING]
>Avoid using `ReplaceName` and `ReplaceUri` together in one rule — split into separate rules instead.

---

### Examples

|**Original Value**|**Pattern**|**Group1Value**|**Result**|  
|---|---|---|---|  
|`https://www.nodinite.com/int042/getCustomer/12345`|`/([0-9]{4,})$`|`{customerId}`|`https://www.nodinite.com/int042/getCustomer/{customerId}`|  
|`INT(101)`|`101`|`100`|`INT100`|  
|`INT101`|`INT101`|`INT100`|`INT100`|  
|`https://www.nodinite.com/api/envelopes/H1ZUP5uDh/documents/rJxZ8P5OP2/files/CDRS1QQ1U7ul_o7n/url?asObject=true#GET`|`https://www.nodinite.com/api/envelopes/(?<envId>\w+)/documents/(?<docId>\w+)/files/(?<fileId>\w+)`|*(blank)*|`https://www.nodinite.com/api/envelopes/{envId}/documents/{docId}/files/{fileId}/url?asObject=true#GET`|  

---

>[!WARNING]
>**Don’t skip this!**  
>If you ignore Replace Rules during setup, you may end up with thousands of messy [Endpoints][].  
>Reach out to [Support][] if you need help cleaning them up.

---

#### JSON Examples

```json
"ReplaceRules": [
  {
    "Name": "Normalize file-based URI with named groups",
    "ReplaceName": false,
    "ReplaceUri": true,
    "Pattern": "https://www\\.nodinite\\.com/api/envelopes/(?<envId>\\w+)/documents/(?<docId>\\w+)/files/(?<fileId>\\w+)",
    "Group1Value": ""
  },
  {
    "Name": "Standardize INT name pattern",
    "ReplaceName": true,
    "ReplaceUri": false,
    "Pattern": "INT(101)",
    "Group1Value": "100"
  }
]
```

## Configuration File Overview  

To manually configure the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service], you edit the `Settings.json` file.

>[!NOTE]
>This paragraph applies to versions <7.1.x. Later versions include a [Remote Configuration][] feature that allows configuration via the :Nodinite: web interface ([Web Client][]).

This file is located in the installation directory of the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service].  

For version 7.1 and later, the default path is:

```cmd
C:\Program Files\Nodinite\%ENVIRONMENTNAME%\Agents\PickupService\Settings.json
```

and for version 6.x, the default path is:

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

>[!IMPORTANT]
>You must restart the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service] after making any changes to the configuration file for updates to take effect.  

Regardless of the intermediate storage source, the following sections apply to all configurations:

### Key Configuration Fields

* [General](#general)  
* [Shared Configuration](#fa-circles-overlap-shared-configuration)  
* [Destination Tab](#fa-right-from-bracket-destination-tab)  
* [Replace Rules](#fa-exchange-alt-replace-rules-clean-up-your-dynamic-endpoints-automatically)  

### General

The General section contains global settings that affect the internal behavior of the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service].

|Property|Description|Value Example|Comment|  
|---|---|---|---|  
|:fa-leaf: **Environment**|Name of the environment where the agent runs|Test, Prod, QA||  
|:fa-bug: **Debug**|Enables detailed diagnostics logging|true or false (default)|Set to false in production|  
|:fa-code-commit: **Version**|Internal version number for the configuration file|1.2.3.4|**Read only** – do not change manually|  

### Shared Configuration {#fa-circles-overlap-shared-configuration}

|Property|Description|Value Example|Comment|  
|---|---|---|---|  
|:fa-toggle-on: **Enabled**|Enables or disables logging|true or false|Temporarily disable pickup service without removing configuration|  
|:fa-link: [Log API][]|Address of the Nodinite [Log API][LogAPI]|`https://nodinite.contoso.com:40002/LogAPI/`|Use the host and port of your Log API; the host and port come from your environment's settings in the :Nodinite: Portal ([Servers step][])|  
|:fa-database: **UseConfigurationDatabase**|Bypass the [LogAPI][] for high-throughput scenarios|true or false|Use only for high-performance needs; may increase system load|  
|:fa-plug: **ConfigurationDatabaseConnectionString**|SQL Server connection string to the :Nodinite: [Configuration database][ConfigDB] (uses **Microsoft.Data.SqlClient** with modern TLS defaults)|`Server=localhost;Database=NodiniteConfig_Dev;Integrated Security=True;Connection Timeout=60;TrustServerCertificate=true`|See [SQL Server Connection Strings][SQL Connection Strings] for certificate validation, AOAG, troubleshooting, and security|  

#### Example Configuration File  

>[!TIP]
>This applies only to versions < 7.1.x.

See the Troubleshooting section for a [fully populated configuration file][Settings.json].  

## :fa-hand-point-right: Next Steps

* [JSON Log Event][]  

## :fa-link-horizontal: Related Topics

* [Install Log Agent - Pickup Service][]  
* [Log Agents][]  
* [Logging Service][]  

[1]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/ReplaceRulesTab.png
[2]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/RemoteConfigurationTabs.png
[3]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/SettingsTab.png
[4]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/AIDiagnosticsTab.png
[5]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/ActiveMQ/DestinationTab.png
[6]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/ActiveMQ/DestinationTab_Protected.png
[7]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/SQL/DestinationTab.png
[8]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/ConfigDB_OptionEnabled.png

[ActiveMQs]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/ActiveMQ.md  
[AI Diagnostics]:{ndr}/AI/AI%20Diagnostics.md
[Always On Availability Groups]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Always%20On%20Availability%20Groups.md
[AMQP]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/AMQP.md  
[AnypointMQs]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/AnypointMQ.md  
[BlobContainers]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/BlobContainer.md  
[ConfigDB]:{ndr}/Core%20Services/Configuration%20Database/Overview.md  
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md  
[EventHubs]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/EventHub.md  
[Folders]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/Folder.md  
[Install Log Agent - Pickup Service]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/2.%20Install.md  
[JSON Log Event]:{ndr}/Core%20Services/Log%20Event/Features/JSON%20Log%20Event.md
[Log Agents]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Agent.md  
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md  
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[Log Event Processing]:{ndr}/Core%20Services/Log%20Event/Overview.md#what-happens-after-you-log-an-event
[LogAPI]:{ndr}/Core%20Services/Log%20API/Overview.md  
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md  
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[MSMQs]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/MSMQ.md  
[Pickup Service]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Overview.md
[PostgreSQLs]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/PostgreSQL.md  
[Protect Log API]:{ndr}/Core%20Services/Log%20API/Scenarios/Protect%20the%20Log%20API%20with%20OAuth%202.0%20and%20Entra%20ID.md
[RegEx]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Formula/Extract/regex.md
[Remote Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/How%20do%20I%20configure%20a%20Monitor%20Agent.md
[Search Field Expressions]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Overview.md
[Secret Management]:{ndr}/Install%20and%20Update/Troubleshooting/Secret%20Managment.md
[Servers step]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-platform-services
[ServiceBusQueues]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/ServiceBusQueue.md  
[Settings.json]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Troubleshooting/Fully%20populated%20configuration%20file.md  
[SQL Connection Strings]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Connection%20Strings.md  
[SQLServers]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/SQLServer.md  
[Support]:https://support.nodinite.com  
[Web Client]:{ndr}/Getting%20Started/Overview.md