---
title: Configure Nodinite Pickup Service Logging Agent for File Folder (SMB) Integration
description: Unlock seamless log event collection by configuring the Nodinite Pickup Service Logging Agent for Windows File Folders and SMB shares. This guide provides step-by-step setup, best practices, and integration tips for secure, scalable, and reliable log event management.
---

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

# File Folder Configuration Example

Unlock seamless integration by configuring the :Nodinite: [Pickup Logging Service][Pickup Service] to fetch [JSON Log Events][JSON Log Event] directly from your Windows File Folders or SMB network shares. This guide empowers you to set up secure, scalable, and reliable log event collection for your enterprise systems.  

✅ Effortless integration with Windows File Folders and SMB shares  
✅ Secure and reliable log event collection  
✅ Scalable setup for enterprise environments  
✅ Long-term storage and compliance-ready  

<div class="mermaid">
graph TD
  subgraph "Folder"
    roS("fa:fa-folder-open: Folder")
    roBO("fa:fa-folder-xmark: Backout folder")
  end
  subgraph "Nodinite instance"
    roPS("fa:fa-truck-pickup: Pickup Service")
    roPS -.-> | Bad/invalid messages | roBO  
    roS --> roPS
    roPS --> | Long term storage | roDB("fa:fa-database: Log Database")
  end
</div>

*The diagram above illustrates how the Pickup Service interacts with file folders, processes messages, and stores them in the :Nodinite: [Log Database][Log Databases]. Invalid files are routed to the Backout folder for further review.*  

## :fa-folder-open: Folders

The **Folders** section lets you manage all file folder sources (Windows File Folders and SMB shares) for your log events.

In the [Remote Configuration][] GUI, navigate to the **Folders** tab. Here, you can add, edit, or remove folder configurations. Each configuration defines how the :Nodinite: [Pickup Log Events Logging Service][Pickup Service] connects to and processes messages from a specific folder or SMB share.

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

Click the **Add** button to create a new folder configuration. Fill in the required fields, such as folder path, backout folder location, and file filter pattern. You can also configure options for processing child folders and handling empty files.

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

Expand the accordion for each folder 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 :Nodinite:, ensuring consistency and compliance with your logging standards.

>[!IMPORTANT]
>Ensure that the folder path (local or SMB share) is accessible from the server where the Pickup Service runs. Verify permissions and network connectivity before enabling a configuration.

### General tab

The **General tab** provides the fundamental settings for your folder 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|  
|---|---|---|---|  
|:fa-toggle-on: **Enabled**|Checkbox to activate or deactivate this folder configuration|No|When unchecked, the Pickup Service will skip this configuration|  
|:fa-tag: **Display Name**|User-friendly name for this folder source configuration|✅ Yes|Used in the GUI and logs for easy identification|  
|:fa-align-left: **Description**|Optional detailed description of the folder configuration|No|Helps document the purpose and details of this specific folder setup|  

Follow these guidelines when configuring the General tab:

* Use descriptive names that clearly indicate the folder path and purpose (e.g., "Production Logs - Order Events")
* In the Description field, note important details such as the folder's business purpose, owner contact, or any special processing notes
* The Display Name appears throughout the :Nodinite: interface, so keep it concise yet meaningful
* Leave the configuration disabled during initial setup if you're not ready to start collecting files

### Source tab

The **Source tab** contains the folder path configuration and file processing settings.  
  ![Source Tab][4]  
  *The Source tab contains settings for connecting to the folder and configuring file handling options.*

The following key fields must be configured for folder connectivity:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|:fa-folder: **Folder Path**|The local or network path to monitor for log files|✅ Yes|For network shares, use `\\server\share` format; ensure the path is accessible from the [Pickup Service][] server|  
|:fa-box-archive: **Backout Folder**|Destination folder for invalid or unparseable files|✅ Yes|Use a dedicated backout folder separate from the main source folder to prevent reprocessing|  
|:fa-filter: **Filter**|File pattern to match files for processing|No|Examples: `*.json`, `*.log`, `order-*.txt`; leave empty to process all files|  
|:fa-trash-can: **Remove Empty Files**|Checkbox to automatically delete empty files|No|When checked, empty files are removed during processing|  
|:fa-folder-tree: **Include Child Folders**|Checkbox to recursively process subfolders|No|When checked, the [Pickup Service][] will search all nested subfolders for matching files|  
|:fa-folder-minus: **Exclude Child Folders**|List of specific subfolders to skip during processing|No|Useful when **Include Child Folders** is enabled to prevent processing temporary or backup folders|  

Follow these guidelines when setting up the Source tab:

* Ensure the folder path is accessible from the server running the Pickup Service (test connectivity before enabling)
* For network shares, verify SMB/CIFS permissions and ensure the service account has read access
* Use a descriptive Filter pattern that matches your log file naming convention (e.g., `app-*.json`)
* Always configure a Backout Folder separate from your source folder to prevent infinite reprocessing loops
* Enable **Include Child Folders** only if you have subfolders containing log events
* If using **Include Child Folders**, carefully configure **Exclude Child Folders** to skip temporary, cache, or backup directories
* For large folder structures, test with a single folder before scaling to multiple sources

To exclude specific child folders, click the **Add Exclude Folder** button and provide the **full path** of each folder to skip.  
  ![Exclude Child Folders Configuration][7]  
  *Example of configuring excluded child folders in the Source tab.*

### Destination tab

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

### 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 :Nodinite:, ensuring consistency and compliance with your logging standards.
  ![Replace Rules Tab][6]  
  *The Replace Rules tab allows you to configure rules for modifying message content.*

## :fa-file: Configuration file  

>[!NOTE]
>This section applies for **older** versions (<7.1.x) of the :Nodinite: [Pickup Log Events Logging Service][Pickup Service].

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

```json
{
  ...
  "Folders": [
    {
      "Enabled": true,
      "LogApi": "https://nodinite.contoso.com:40002/LogAPI/",
      "UseConfigurationDatabase": false,
      "ConfigurationDatabaseConnectionString": null,
      "Folder": "C:\\Temp\\Nodinite.LogAgent.PickupService.Test",
      "BackoutFolder": "C:\\Temp\\BackoutFiles",
      "RemoveEmptyFiles": true,
      "Filter": "*.json",
      "IncludeChildFolders": false,
      "ExcludeChildFolders": [
        {
          "Name": "C:\\Temp\\Nodinite.LogAgent.PickupService.Test\\NotMe"
        }
      ],
      "ReplaceRules": [
        {
          "Name": "Fix Endpoint real customer id to {customerId}",
          "ReplaceName": false,
          "ReplaceUri": true,
          "Pattern": "/([0-9]{4,})$",
          "Group1Value": "{customerId}"
        }
      ]
    }
  ]
  ...                      
}
```

**Folders** is an **array** of Folder configurations. Each entry defines how the [Log Agent][Log Agents] connects to and processes messages from a specific folder. This setup ensures your :Nodinite: [JSON Log Events][JSON Log Event] are reliably collected and managed.  

|Property|Description|Value Example|Comment|  
|---|---|---|---|  
|:fa-folder: **Folder**|The folder to look for log files|For a network share, use `\\server\share` in the JSON configuration|Use `\\` to escape `\` in JSON|  
|:fa-box-archive: **BackoutFolder**|The folder for invalid log files|For a network share, use `\\server\theothershare`|Do not use a child folder if **IncludeChildFolders** is enabled unless you have a proper exclude configuration|  
|:fa-trash-can: **RemoveEmptyFiles**|When `true`, the system removes empty files|`true`, `false`|Empty files should not exist|  
|:fa-filter: **Filter**|A file filter to match files|`*.log` or `*.json`|Can use wildcards (* and ?)|  
|:fa-folder-tree: **IncludeChildFolders**|Search for [JSON Log Event][] in subfolders|`true` or `false`||  
|:fa-folder-minus: **ExcludeChildFolders**|Array of child folders to exclude if **IncludeChildFolders** is `true`||Provide the full path|  
|:fa-toggle-on: **Enabled**|See the [Shared Configuration][] section for more info|||  
|:fa-link: [LogAPI][Log API]|See the [Shared Configuration][] section for more info|||  
|:fa-database: **UseConfigurationDatabase**|See the [Shared Configuration][] section for more info|||  
|:fa-plug: **ConfigurationDatabaseConnectionString**|See the [Shared Configuration][] section for more info|||  
|:fa-exchange-alt: **ReplaceRules**|See the shared [Replace Rules][ReplaceRules] section for more info|||  

>[!IMPORTANT]
>You must restart the :Nodinite: **Pickup [Log Events][] [Logging Service][]** for configuration changes to take effect.  

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

* :fa-cog: [Configure][Configuration] - Set up your folder integration  
* :fa-book: [Remote Configuration Guide][Remote Configuration] - Learn the GUI setup process  

## :fa-link-horizontal: Related Topics

* :fa-file-code: [JSON Log Event][] - Message format specification  
* :fa-exchange-alt: [Replace Rules][ReplaceRules] - Transform message content  
* :fa-database: [Log Databases][] - Where log events are stored  
* :fa-plug: [Log API][] - REST endpoint for log events  
* :fa-info-circle: [Pickup Service Overview][Pickup Service] - Feature overview  
* :fa-puzzle-piece: [Shared Configuration][Shared Configuration] - Common settings guide  

[1]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/SMB/FoldersTab.png
[2]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/SMB/EmptyAccordion.png
[3]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/SMB/GeneralTab.png
[4]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/SMB/SourceTab.png
[6]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/SMB/ReplaceRules.png
[7]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/SMB/ExcludeChildFolders.png

[Configuration]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/3.%20Configuration.md
[Destination Tab]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/3.%20Configuration.md#fa-right-from-bracket-destination-tab
[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 Events]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[Pickup Service]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Overview.md
[Remote Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/How%20do%20I%20configure%20a%20Monitor%20Agent.md
[ReplaceRules]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/3.%20Configuration.md#fa-exchange-alt-replace-rules-clean-up-your-dynamic-endpoints-automatically
[Shared Configuration]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/3.%20Configuration.md#fa-circles-overlap-shared-configuration