send a test message syslog

View thread

GustavoM

Hello, I have the following nxlog configuration file:

define ROOT C:\Program Files (x86)\nxlog define CERTDIR %ROOT%\cert define CONFDIR %ROOT%\conf define LOGDIR %ROOT%\data define LOGFILE %LOGDIR%\nxlog.log LogFile %LOGFILE%

Moduledir %ROOT%\modules CacheDir %ROOT%\data Pidfile %ROOT%\data\nxlog.pid SpoolDir %ROOT%\data

<Extension _syslog> Module xm_syslog </Extension>

<Input in> Module im_msvistalog #Exec if not ($EventID IN (4624, 1102)) drop();

</input>

<Output out> Module om_udp Host xx.xxx.xx Port 514 Exec to_syslog_snare(); </Output>

<Route> Path in=>out </Route>

I am sending windows log events to a syslog.

I would like to know how do I send a "connector is ok" test message every 1 hour

can you help me?