is it possible to generate event log entries to Windows Event Log at the start/stop of Nxlog?
At the moment start/stop events are in nxlog.log - for safety reasons it would make sense to add entries to Windows Event log if possible.

Thank you!

AskedDecember 5, 2018 - 11:03am

Answer (1)

Currently it can be only logged into nxlog.log and via im_internal. There is no built-in support to write into the windows eventlog (i.e. there is no output equivalent for im_msvistalog), though this is on the roadmap.
You could do this with om_exec though by setting up a route with im_internal => om_exec and have om_exec invoke a script that writes into the eventlog. eventcreate or the Write-Eventlog powershell cmdlet can do this.

Comments (1)