NXlog Input to Track Rotated Log Files

I have an input for some log files, however each restart of the machine the log file is rotated to a new file.

I'm trying to create an input that is able to track the rotated log file. I presume a wildcard can be used in the File: string and that the save position and read from last wouldnt cause NXlog to re read old files?

Below you can see the example file path with the 'X' representing a number that changes each time the active log is rotated.

AskedAugust 17, 2017 - 1:29pm

Windows Collector GPO

Has anyone gotten nxlog running on linux to receive windows logs through Windows Log Collector initiated by a GPO? In simple terms, using nxlog to receive Windows logs without a nxlog agent running on Windows? If so, any documentation on how to make that happen?

Thank you in advance, Bruce M. Wink

AskedAugust 14, 2017 - 9:31pm

Updated source package of Community Edition (2.9 instead of 2.8)


I have noticed the on the download page of NXLog Community Edition the versions of the Windows and Linux packages are 2.9 while the source code (.tar.gz) is of the lower version 2.8.

Could the source code package please be updated?

We are missing the GELF_TCP feature which appeared in 2.9.1347.

Thank you

AskedAugust 9, 2017 - 11:24pm

Rotate log based on size and schedule using variables in path and filename

Hi all,

I can...

 - rotate log files based on size.

 - rotate log files based on size using event fields- such as $Hostname from Syslog

 - rotate log files based on size and schedule.

I CANNOT rotate log files based on size and schedule using event fields !  It seems that the Schedule component does not like references to fields.

At end of tether, please help.


ERROR invalid om_file keyword: $newfilepath


AskedJuly 31, 2017 - 11:04pm