Commit 627153a1 authored by NXLog CI User's avatar NXLog CI User

New Config Samples

parent c3b6a577
<Extension _json>
Module xm_json
</Extension>
<Input http>
Module im_http
ListenAddr 127.0.0.1
......@@ -7,4 +11,5 @@
HTTPSCAFile %CERTDIR%/ca.pem
HTTPSRequireCert TRUE
HTTPSAllowUntrusted FALSE
Exec parse_json();
</Input>
\ No newline at end of file
<Input perl>
Module im_perl
PerlCode /opt/nxlog/bin/perl-input.pl
PerlCode mongodb-input.pl
</Input>
<Output file>
Module om_file
File '/tmp/output.log'
</Output>
<Route perl_to_file>
Path perl => file
</Route>
\ No newline at end of file
</Output>
\ No newline at end of file
<Extension _xml>
Module xm_xml
</Extension>
<Input in>
Module im_msvistalog
<QueryXML>
<QueryList>
<Query Id="0">
<Select Path="Microsoft-Windows-AppLocker/MSI and Script">
*</Select>
<Select Path="Microsoft-Windows-AppLocker/EXE and DLL">
*</Select>
<Select Path="Microsoft-Windows-AppLocker/Packaged app-Deployment">
*</Select>
<Select Path="Microsoft-Windows-AppLocker/Packaged app-Execution">
*</Select>
</Query>
</QueryList>
</QueryXML>
Exec if $UserData parse_xml($UserData);
</Input>
\ No newline at end of file
define PYDIR /opt/nxlog/lib/nxlog/modules/input/python
<Input oms>
Module im_python
PythonCode %PYDIR%/oms-download.py
</Input>
\ No newline at end of file
define PYCODEDIR /opt/nxlog/lib/nxlog/modules/output/python
<Extension _json>
Module xm_json
</Extension>
<Output oms>
Module om_exec
Command %PYCODEDIR%/oms-pipe.py
Exec to_json();
</Output>
\ No newline at end of file
define PYDIR /opt/nxlog/lib/nxlog/modules/input/python
<Input py>
Module im_python
PythonCode %PYDIR%/im_python.py
</Input>
\ No newline at end of file
<Input oms>
Module im_python
PythonCode oms-download.py
</Input>
\ No newline at end of file
......@@ -14,6 +14,6 @@
<Output azure_oms>
Module om_exec
Command /tmp/oms-pipe.py
Command oms-pipe.py
Exec to_json();
</Output>
\ No newline at end of file
......@@ -5,5 +5,5 @@
<Output azure_oms>
Module om_exec
Command /tmp/oms-pipe.py
Command oms-pipe.py
</Output>
\ No newline at end of file
<Output file2>
Module om_file
File 'tmp/output2'
</Output>
<Input perl>
Module im_perl
PerlCode modules/input/perl/perl-input.pl
</Input>
\ No newline at end of file
</Input>
<Input perl2>
Module im_perl
PerlCode modules/input/perl/perl-input2.pl
</Input>
<Route r1>
Path perl => file
</Route>
<Route r2>
Path perl2 => file2
</Route>
\ No newline at end of file
<Input mongodb>
Module im_perl
PerlCode /opt/nxlog/bin/mongodb-input.pl
</Input>
\ No newline at end of file
<Input perl>
Module im_perl
PerlCode /opt/nxlog/bin/cisco-ips.pl
<Input msazurepull>
Module im_exec
Command /opt/nxlog-msazure/bin/msazure-pull.sh
Arg --client_id=912497ba-9780-46bc-a6a6-3a56a4c14278
Arg --client_secret=X4wlwAQ44+JHk4i/cxdpZX37XbHz9DQwXsmt/LL07UM=
Arg --tenant_id=e681b493-14a8-438b-8bbf-d65abdc826c2
Arg --certthumbprint=D64Rm2IkRQxp26XK4Da7Bcbqu2o=
Arg --tenant_domain=contoso.onmicrosoft.com
Arg --certkeyfile=certkey.pem
Arg --working_directory=/opt/nxlog/msazure-pull
# Continually report the current services status
Arg --service_communication_operations=CurrentStatus
Exec parse_syslog();
</Input>
<Output file>
Module om_file
File '/tmp/output.log'
</Output>
<Route perl_to_file>
Path perl => file
</Route>
\ No newline at end of file
<Output out>
Module om_file
File "/tmp/out.log"
</Output>
\ No newline at end of file
<Input msazurepull>
Module im_exec
Command /opt/nxlog-msazure/bin/msazure-pull.sh
Arg --client_id=912497ba-9780-46bc-a6a6-3a56a4c14278
Arg --client_secret=X4wlwAQ44+JHk4i/cxdpZX37XbHz9DQwXsmt/LL07UM=
Arg --tenant_id=e681b493-14a8-438b-8bbf-d65abdc826c2
Arg --certthumbprint=D64Rm2IkRQxp26XK4Da7Bcbqu2o=
Arg --tenant_domain=contoso.onmicrosoft.com
Arg --certkeyfile=certkey.pem
Arg --working_directory=/opt/nxlog/msazure-pull
# Continually report the current services status
Arg --service_communication_operations=CurrentStatus
Exec parse_syslog();
</Input>
<Output out>
Module om_file
File "/tmp/out.log"
</Output>
\ No newline at end of file
<Input in>
Module im_exec
Command "C:\Program Files (x86)\nxlog-xchg\nxlog-xchg.exe"
Arg -c
Arg C:\Program Files (x86)\nxlog-xchg\nxlog-xchg.cfg
</Input>
\ No newline at end of file
<Input perl>
Module im_perl
PerlCode /opt/nxlog/bin/cisco-ips.pl
</Input>
<Output file>
Module om_file
File '/tmp/output.log'
</Output>
<Route perl_to_file>
Path perl => file
</Route>
\ No newline at end of file
<Extension _json>
Module xm_json
</Extension>
<Input py>
Module im_python
PythonCode cloudwatch.py
Exec parse_json();
</Input>
\ No newline at end of file
<Input in>
Module im_exec
Command 'C:\Program Files (x86)\nxlog-exchange\nxlog-xchg.exe'
Arg -c
Arg C:\Program Files (x86)\nxlog-xchg\nxlog-xchg.cfg
</Input>
<Output out>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment