Hi,
I have configured graylog 3 and I’m using nxlog and collector-sidecar (1.0.0) to send event viewer logs to the graylog server.
For some reason, I’m not seeing some logs in the graylog server but they are in the event viewer… I’m not filtering any log for the time being… and actually the same configuration in graylog 2.4 works fine…
Not sure if this could help but for instance Security EventID 4625 or 4624 are some of the events I’m not seeing in graylog but are there in the Event Viewer.
The config I’m using:
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 logrotate>
Module xm_fileop
<Schedule>
When @daily
Exec file_cycle('%ROOT%\data\nxlog.log', 7);
</Schedule>
</Extension>
<Extension gelfExt>
Module xm_gelf
</Extension>
<Input eventlog>
Module im_msvistalog
PollInterval 1
SavePos True
ReadFromLast True
Query <QueryList>\
<Query Id="0">\
<Select Path="Application">*</Select>\
<Select Path="System">*</Select>\
<Select Path="Security">*</Select>\
</Query>\
</QueryList>
</Input>
<Output gelf>
Module om_udp
Host my_server
Port 12201
OutputType GELF
<Exec>
# These fields are needed for Graylog
$gl2_source_collector = '${sidecar.nodeId}';
$collector_node_id = '${sidecar.nodeName}';
</Exec>
</Output>
<Route route-0>
Path eventlog => gelf
</Route>
Thanks in advance.