Collect data from NXLog for Windows

circle-info

See the changelog of the Syslog Listener here.

Overview

The following article outlines a basic data flow from your activity and events generated by NXLog for Windows to Onum using the Syslog Listener.

Prerequisites

If you're using TLS authentication, contact Onum to get the cert information needed for TLS communication.

The NXLog configuration file (nxlog.conf) requires specific modules and directives to properly format and forward Windows events to the Syslog Listener:

Key Components:

  • Input Module (im_msvistalog): Collects Windows Event Logs from specified channels

  • Output Module (om_tcp/om_udp): Sends formatted logs to Onum's Syslog Listener

  • Processor Module (pm_transformer): Converts Windows events to Syslog format

  • Extension Modules: Provides additional functionality (xm_syslog, xm_json)

Onum Setup

1

Log in to your Onum tenant and click Listeners > New listener.

2

Double-click the Syslog Listener.

3

Enter a Name for the new Listener. Optionally, add a Description and some Tags to identify the Listener.

4

Enter the required

  • Port - The standard ports are 514 (for both UDP and TCP Syslog) or 6514 (for TLS-encrypted Syslog).

    • NXLog connects outbound to the port specified in the configuration file. If you need to change the port, modify the Port directive in the <Output> section of your nxlog.conf file.

  • Protocol (TCP or UDP).

5

Choose the required Framing Method, which refers to how characters are handled in log messages sent via the Syslog protocol. Select Non-Transparent Framing (newline) for Windows events.

6

If you're using TLS authentication, enter the data you received from the Onum team in the TLS configuration section (Certificate, Private key and CA chain). Choose your Client authentication method and Minimum TLS version.

7

Finally, click Create labels. Optionally, you can set labels to be used for internal Onum routing of data. By default, data will be set as Unlabeled. Click Create listener when you're done.

circle-info

Learn more about labels in this article.

NXLogs setup

Once you have downloaded NXLog Community Edition or Enterprise Edition from the NXLog websitearrow-up-right, run the installer with administrative privileges and complete the installation using the default options.

Configure NXLog to Forward to Onum

  1. Navigate to the NXLog configuration directory:

    • Typically C:\Program Files\nxlog\conf\

  2. Create a backup of the existing configuration:

    • Copy nxlog.conf to nxlog.conf.bak

  3. Edit nxlog.conf with a text editor (run as administrator)

  4. Replace the contents with the following configuration, adjusting as needed:

  1. Replace YOUR_ONUM_LISTENER_ADDRESS with your Onum Syslog Listener address

  2. Ensure the Port matches what you configured in Onum

  3. If using UDP instead of TCP, change om_tcp to om_udp

  4. If using TLS, uncomment and configure the SSL parameters.

Last updated

Was this helpful?