Commit 78074de1 authored by Botond Botyanszki's avatar Botond Botyanszki

Add log-generator config files

parent 830f4b92
Moduledir ../src/modules
NoCache TRUE
CacheDir tmp
#LogLevel debug
Logfile tmp/selflog
Pidfile tmp/nxlog.pid
<Input in>
Module im_perl
PerlCode tmp/log-generator-im-perl.pl
</Input>
<Output out>
Module om_file
File 'tmp/output'
</Output>
<Route 1>
Path in => out
</Route>
<Input loggen>
Module im_exec
Command /path/to/log-generator/log-generator.pl
Arg -delay=1000000
Arg -datadir=/path/to/log-generator/data
Exec parse_json(); $raw_event = $rawEvent; delete($rawEvent);
InputType LineBased
</Input>
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