Skip to content

Instantly share code, notes, and snippets.

@dvas0004

dvas0004/nxlog.conf

Last active Aug 29, 2015
Embed
What would you like to do?
NXLog manual, on-demand OSSIM configuration
Global directives #
########################################
User nxlog
Group nxlog
LogFile /var/log/nxlog/nxlog.log
LogLevel INFO
########################################
# Modules #
########################################
<Extension _syslog>
Module xm_syslog
</Extension>
<Extension json>
Module xm_json
</Extension>
<Input in_ossim>
Module im_file
File '/elk/historic_data/ossim/*.log'
SavePos TRUE
ReadFromLast FALSE
PollInterval 1
Exec $message = $raw_event;
</Input>
<Output out_ossim>
Module om_tcp
Port 5142
Host 127.0.0.1
</Output>
<Route 1>
Path in_ossim => out_ossim
</Route>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment