Commit c30d6202 authored by NXLog CI User's avatar NXLog CI User

New Config Samples

parent b332dfea
<Extension _json>
Module xm_json
</Extension>
envvar systemroot
<Input azure_sql>
Module im_exec
......
<Extension w3c_parser>
Module xm_w3c
</Extension>
<Input iis_http>
Module im_file
File 'C:\Windows\System32\LogFiles\HTTPERR\httperr1.log'
InputType w3c_parser
</Input>
\ No newline at end of file
......@@ -3,7 +3,8 @@
</Extension>
<Input in>
Module im_file
File '/var/log/messages'
Module im_tcp
Host 0.0.0.0
Port 1514
Exec parse_syslog();
</Input>
\ No newline at end of file
<Input in>
Module im_etw
Provider DockerContainerLogs
</Input>
\ No newline at end of file
<Extension _gelf>
Module xm_gelf
</Extension>
<Input in>
Module im_tcp
Host 0.0.0.0
Port 12201
InputType GELF_TCP
</Input>
\ No newline at end of file
<Extension w3c_parser>
Module xm_w3c
Module xm_w3c
</Extension>
<Input smtp>
......
<Extension _fileop>
Module xm_fileop
</Extension>
<Extension _json>
Module xm_json
</Extension>
<Input in>
Module im_file
File '/var/lib/docker/containers/*/*-json.log'
<Exec>
parse_json();
$HostID = file_basename(file_name());
$HostID =~ s/-json.log//;
</Exec>
</Input>
\ No newline at end of file
<Output foo_out>
Module om_foo
...
</Output>
\ No newline at end of file
<Processor foo>
Module pm_foo
...
</Processor>
\ No newline at end of file
<Input foo_in>
Module im_foo
...
<Extension _syslog>
Module xm_syslog
</Extension>
<Input in>
Module im_file
File '/var/log/messages'
Exec parse_syslog();
</Input>
\ No newline at end of file
<Route r2>
Path in => proc => out
</Route>
<Route r3>
Path in1, in2 => out1, out2
</Route>
\ No newline at end of file
<Route r1>
Path in => out1
</Route>
<Route r2>
Path in => proc => out2
</Route>
\ No newline at end of file
<Route r1>
Path in => out
</Route>
\ No newline at end of file
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