How-to guides

Windows Event Logs

How to enable command line logging and forward Windows Event Logs to Bloo using NXLog.

Updated 2026-08-17


Windows Event Logs

Automation Guide for Bloo

1. Overview

Windows displays its event logs in the Windows Event Viewer. This application lets you view and navigate the Windows Event Logs, search and filter on particular types of logs, export them for analysis, and more.

This article has been written for integration with 32-bit and 64-bit Windows machines.

2. Include Command Line Logging in Process Creation Events

This policy setting determines what information is logged in security audit events when a new process has been created.

This setting only applies when the Audit Process Creation policy is enabled. If you enable this policy setting, the command line information for every process will be logged in plain text in the security event log as part of the Audit Process Creation event 4688, "a new process has been created," on the workstations and servers on which this policy setting is applied.

Open the Local Group Policy Editor and navigate to Computer Configuration > Administrative Templates > System > Audit Process Creation and Enable the Include command line in process creation events policy.

For more information and the latest updates, refer to the Windows guide: Command Line Logging.

3. Download and Install NXLog for Log Forwarding

Download and install the latest version of NXLog on the Windows machine from which the logs need to be collected.

After installation, locate the nxlog.conf file in the C:\Program Files\nxlog\conf folder for 32-bit systems, or C:\Program Files (x86)\nxlog\conf for 64-bit systems.

Open the nxlog.conf file using a text editor and append the below text:

##############################windows event logs##############################
<Extension _json>
    Module xm_json
</Extension>
<Input in>
    Module im_msvistalog
</Input>
<Output out>
    Module om_udp
    Host Bloo-PICO-IP
    Port 514
    Exec to_json();
</Output>
<Route 1>
    Path in => out
</Route>

Info: In the above configuration, replace the text Bloo-PICO-IP with the Destination IP Address (IP Address of PICO).

  • To apply changes made on nxlog.conf, you have to restart the service again. Go to Control Panel > Services and locate the nxlog service.
  • Right-click on nxlog and Restart.

Windows event logs are now streamed to Bloo.

Related

Was this page helpful?

We use cookies to provide essential site functionality and, with your consent, to analyze site usage and enhance your experience. View our Privacy Policy