NxLog not finding any modules

Tags:

#1 Deleted user

Hello,

I am running a trial version of EE, but when I try to start NxLog, I get errors saying it cannot find the modules.

Here is my conf file. I have verified that nxlog is installed at C:\Program Files\nxlog.

configuration options. It should be installed locally and is also available

online at http://nxlog.org/docs/

Please set the ROOT to the folder your nxlog was installed into,

otherwise it will not start.

define ROOT C:\Program Files\nxlog #define ROOT C:\Program Files (x86)\nxlog

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

LogFile %ROOT%\data\nxlog.log #LogLevel DEBUG

<Extension json> Module xm_json </Extension>

<Input in>

For Windows 2008 and later

Module      im_msvistalog

For Windows 2003 and earlier

#Module im_mseventlog

File		&quot;c:\\documents and settings\\administrator\\desktop\\events\\app.evtx&quot;

Exec		to_json();

</Input>

<Output out>

Module      om_tcp
Host        localhost
Port        5013

</Output>

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

Error logs

2018-10-12 13:51:24 ERROR Failed to load module from C:\Program Files\nxlog\modules\input\im_msvistalog.dll, The specified module could not be found. ; The specified module could not be found.
2018-10-12 13:51:24 WARNING no functional input modules! 2018-10-12 13:51:24 ERROR module 'in' is not declared at C:\Program Files\nxlog\conf\nxlog.conf:42 2018-10-12 13:51:24 ERROR route 1 is not functional without input modules, ignored at C:\Program Files\nxlog\conf\nxlog.conf:42 2018-10-12 13:51:24 INFO nxlog-4.1.4046-trial started 2018-10-12 13:51:24 WARNING not starting unused module out

#2 Deleted user
#1 Deleted user
Hello, I am running a trial version of EE, but when I try to start NxLog, I get errors saying it cannot find the modules. Here is my conf file. I have verified that nxlog is installed at C:\Program Files\nxlog. configuration options. It should be installed locally and is also available online at http://nxlog.org/docs/ Please set the ROOT to the folder your nxlog was installed into, otherwise it will not start. define ROOT C:\Program Files\nxlog #define ROOT C:\Program Files (x86)\nxlog Moduledir %ROOT%\modules CacheDir %ROOT%\data Pidfile %ROOT%\data\nxlog.pid SpoolDir %ROOT%\data LogFile %ROOT%\data\nxlog.log #LogLevel DEBUG <Extension json> Module xm_json </Extension> <Input in> For Windows 2008 and later Module im_msvistalog For Windows 2003 and earlier #Module im_mseventlog File &quot;c:\\documents and settings\\administrator\\desktop\\events\\app.evtx&quot; Exec to_json(); </Input> <Output out> Module om_tcp Host localhost Port 5013 </Output> <Route 1> Path in => out </Route> Error logs 2018-10-12 13:51:24 ERROR Failed to load module from C:\Program Files\nxlog\modules\input\im_msvistalog.dll, The specified module could not be found. ; The specified module could not be found. 2018-10-12 13:51:24 WARNING no functional input modules! 2018-10-12 13:51:24 ERROR module 'in' is not declared at C:\Program Files\nxlog\conf\nxlog.conf:42 2018-10-12 13:51:24 ERROR route 1 is not functional without input modules, ignored at C:\Program Files\nxlog\conf\nxlog.conf:42 2018-10-12 13:51:24 INFO nxlog-4.1.4046-trial started 2018-10-12 13:51:24 WARNING not starting unused module out

Here is what I get when I run debug

2018-10-12 14:52:31 DEBUG nx_win32_svc_main 2018-10-12 14:52:31 DEBUG reading config cache from C:\Program Files\nxlog\data\configcache.dat 2018-10-12 14:52:31 DEBUG nxlog cache read 2018-10-12 14:52:31 DEBUG Setting up module 'in' using im_msvistalog 2018-10-12 14:52:31 ERROR [modules.c:118/nx_module_load_dso()] Failed to load module from C:\Program Files\nxlog\modules\input\im_msvistalog.dll, The specified module could not be found. ; The specified module could not be found.
2018-10-12 14:52:31 DEBUG Setting up module 'out' using om_tcp 2018-10-12 14:52:31 DEBUG module out has 0 exported functions 2018-10-12 14:52:31 DEBUG module out has 1 exported procedures 2018-10-12 14:52:31 DEBUG registering procedure reconnect 2018-10-12 14:52:31 DEBUG procedure 'reconnect' registered 2018-10-12 14:52:31 DEBUG CONFIG: out 2018-10-12 14:52:31 DEBUG nxlog config OK 2018-10-12 14:52:31 DEBUG INIT: out 2018-10-12 14:52:31 DEBUG Pollset initialized for module out (method: select) 2018-10-12 14:52:31 WARNING no functional input modules! 2018-10-12 14:52:31 WARNING route has no name at C:\Program Files\nxlog\conf\nxlog.conf:28 2018-10-12 14:52:31 DEBUG parsing path: in => out 2018-10-12 14:52:31 ERROR [router.c:69/nx_route_add_module()] module 'in' is not declared at C:\Program Files\nxlog\conf\nxlog.conf:30 2018-10-12 14:52:31 DEBUG adding module out to route 2018-10-12 14:52:31 ERROR [router.c:394/nx_add_route()] route is not functional without input modules, ignored at C:\Program Files\nxlog\conf\nxlog.conf:30 2018-10-12 14:52:31 DEBUG jobgroup created with priority 10 2018-10-12 14:52:31 DEBUG spawning 1 worker threads 2018-10-12 14:52:31 DEBUG worker thread 0 started 2018-10-12 14:52:31 INFO nxlog-4.1.4046-trial started 2018-10-12 14:52:31 WARNING not starting unused module out 2018-10-12 14:52:31 DEBUG worker 0 waiting for new event 2018-10-12 14:52:31 DEBUG worker 0 got signal for new job 2018-10-12 14:52:31 DEBUG worker 0 got no event to process 2018-10-12 14:52:31 DEBUG worker 0 waiting for new event 2018-10-12 14:52:31 DEBUG event thread started 2018-10-12 14:52:31 DEBUG no events or no future events, event thread sleeping in condwait 2018-10-12 14:52:31 DEBUG Window thread created