Skip to main content
Skip table of contents

Generic JSON Collector

This feature is supported for 64-bit Windows System Monitor Agents running version 7.20.0 or later, in environments with a core version of 7.20.0 or higher.

The 64-bit System Monitor Agent can begin consuming JSON data from third-party or custom collectors on ports 6044 (TCP) and 7044 (UDP) by default once the Enable JSON Parsing option is enabled in the System Monitor Basic Properties.

Any JSON data can be sent to the System Monitor from a third-party tool or custom collector, and you can create a custom policy file or create a custom log source for data classification and event generation.

When the System Monitor service starts with JSON parsing enabled, two new ports are set up to listen for generic JSON data: one for TCP and another for UDP. Users can enable, disable, or modify the port settings in the JSON Parser Group in the System Monitor Advanced Properties.

Starting with LogRhythm SIEM version 7.24 and Open Collector version 2026.04, your own secure SSL certificates can be used to configure System Monitor Agents and the JSON Listener. See the JSON Parser section of the Modify System Monitor Advanced Properties topic for more information.

Generic JSON Parsing Process

The Generic JSON Collector processes incoming data through the following pipeline:

  1. Listen: The agent listens on configurable TCP and UDP ports for incoming JSON data.

  2. Convert: Raw byte streams are converted to JSON objects.

  3. Filter: Each JSON object is matched against loaded policy files using filter expressions.

  4. Parse: The matching policy's transforms map JSON fields to LogRhythm schema fields.

  5. Output: Parsed records are forwarded to the mediator for indexing.

Prerequisites

Before creating custom policy files or log sources, ensure the following:

  • You have System Monitor Agent version 7.20.0 or higher (64-bit Windows) installed.

  • JSON Parsing is enabled on the agent:

  1. In the SIEM console, navigate to Deployment Manager > System Monitors.

  2. Open the System Monitor properties.

  3. On the Basic tab, check Enable JSON Parsing.

  4. On the Advanced tab, expand the JSON Parser Group to configure ports as follows:

Agent Advanced Property

Range

Default

Description

GenericTCPListeningPort

Any valid port number

6044

The TCP port on which the agent listens for JSON data from a third-party or custom collector.

GenericTCPListeningPortEnabled

Enabled / Disabled

Enabled

Enables or disables the TCP listening port for generic JSON data.

GenericUDPListeningPort

Any valid port number

7044

The UDP port on which the agent listens for JSON data from a third-party or custom collector.

GenericUDPListeningPortEnabled

Enabled / Disabled

Enabled

Enables or disables the UDP listening port for generic JSON data.

Policy Files

A policy file is a JSON file that tells the Generic JSON Collector how to:

  1. Identify which incoming JSON messages belong to a specific source (using a filter); and

  2. Map JSON fields to LR schema fields (using transforms).

For information on using the LogRhythm Policy Builder to create or edit your own custom policies, refer to the JSON Policy Builder documentation.

Policy File Locations

Policy files are stored in two directories on the agent machine:

Directory

Purpose

<agent_config>\\policies\\

System-provided policies shipped with the agent.

Do not modify these files.

<agent_config>\\policies\\custompolicies\\

Your custom policies. Place all custom .json files here.

Both directories are created automatically the first time the System Monitor Agent starts with JSON parsing enabled.

On a default installation, the custom policies directory is:

NONE
C:\Program Files\LogRhythm\LogRhythm System Monitor\policies\custompolicies\

Custom policies are evaluated before system policies, meaning a custom policy for a source type takes precedence over a matching system policy. This means you can safely override a system policy by placing a custom policy with a more specific filter in the custompolicies folder without modifying the system files, and your custom policies will not be overwritten when you upgrade the agent.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.