nxlog service is stopping with - WARNING nxlog-ce received a termination request signal, exiting...
I am having problems with the nxlog service being stopped randomly with the log entry:
"WARNING nxlog-ce received a termination request signal, exiting...”
I have nxlog installed on Windows 2016 server sending powershell windows event logs to Rapid7 IDR SIEM collector
I have looked in application, security and system windows event logs, but I can't see what is stopping it. I am new to nxlog, so it could well be my config:
Panic Soft
#NoFreeOnExit TRUE
define ROOT C:\Program Files\nxlogdefine CERTDIR %ROOT%\certdefine CONFDIR %ROOT%\conf\nxlog.ddefine LOGDIR %ROOT%\data
include %CONFDIR%\\*.confdefine LOGFILE %LOGDIR%\nxlog.logLogFile %LOGFILE%LogLevel DEBUG
Moduledir %ROOT%\modulesCacheDir %ROOT%\dataPidfile %ROOT%\data\nxlog.pidSpoolDir %ROOT%\data
<Extension _syslog> Module xm_syslog</Extension>
# Input: PowerShell logs only<Input powershell_logs> Module im_msvistalog PollInterval 30 Query <QueryList>\ <Query Id="0">\ <Select Path="Microsoft-Windows-PowerShell/Admin">*</Select>\ <Select Path="Microsoft-Windows-PowerShell/Operational">*</Select>\ <Select Path="Windows PowerShell">*</Select>\ </Query>\ </QueryList></Input>
# Output: Send to SIEM at 10.20.2.10:1563<Output to_siem> Module om_udp Host 10.20.2.10 Port 1563 Exec to_syslog_snare();</Output>
# Route: PowerShell logs => SIEM<Route 1> Path powershell_logs => to_siem</Route>