-
Notifications
You must be signed in to change notification settings - Fork 0
/
nxlog_file.conf
46 lines (38 loc) · 960 Bytes
/
nxlog_file.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Panic Soft
#NoFreeOnExit TRUE
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 _gelf>
Module xm_gelf
</Extension>
<Extension _syslog>
Module xm_syslog
</Extension>
<Input eventlog>
# Use 'im_mseventlog' for Windows XP, 2000 and 2003
Module im_msvistalog
# Uncomment the following to collect specific event logs only
Query <QueryList>\
<Query Id="0">\
<Select Path="Security">*</Select>\
</Query>\
</QueryList>\
</Input>
<Output out>
Module om_udp
Host 10.1.66.204
Port 12201
OutputType GELF_UDP
</Output>
<Route eventlog_to_tcp>
Path eventlog => out
</Route>