Log Server Fragmented Events
Posted: Thu Jun 29, 2017 10:27 am
Hi everyone. Already an XI customer, testing out Log Server to see if it works for our needs so we can move away from our current product when it expires.
I got the server up and running with only a few road blocks, and I'm now testing with just one DC sending logs, But I have this problem and I don't know if this is just how it works, or if I have something incorrectly config'd.
When a event from the DC gets sent, it gets sent in pieces. It's like each line of the XML in the Windows event log is parsed as it's own event in Nagios Log server. Like if you look at the screen shot there are events that are blank...just spacers where they would usually appear in the event viewer snap in.
Below is my Nxlog.conf, and attached is a screen shot of what I see. Any help?
-Thanks, B.
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
<Input eventlog>
Module im_msvistalog
Query <QueryList>\
<Query Id="0">\
<Select Path="Application">*</Select>\
<Select Path="System">*</Select>\
<Select Path="Security">*</Select>\
</Query>\
</QueryList>
</Input>
<Output out-tcp-3515>
Module om_tcp
Host [ip of log server]
Port 3515
</Output>
<Route 1>
Path eventlog => out-tcp-3515
</Route>
I got the server up and running with only a few road blocks, and I'm now testing with just one DC sending logs, But I have this problem and I don't know if this is just how it works, or if I have something incorrectly config'd.
When a event from the DC gets sent, it gets sent in pieces. It's like each line of the XML in the Windows event log is parsed as it's own event in Nagios Log server. Like if you look at the screen shot there are events that are blank...just spacers where they would usually appear in the event viewer snap in.
Below is my Nxlog.conf, and attached is a screen shot of what I see. Any help?
-Thanks, B.
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
<Input eventlog>
Module im_msvistalog
Query <QueryList>\
<Query Id="0">\
<Select Path="Application">*</Select>\
<Select Path="System">*</Select>\
<Select Path="Security">*</Select>\
</Query>\
</QueryList>
</Input>
<Output out-tcp-3515>
Module om_tcp
Host [ip of log server]
Port 3515
</Output>
<Route 1>
Path eventlog => out-tcp-3515
</Route>