Difference between revisions of "RSYSLOG"

From Michael's Information Zone
Jump to navigation Jump to search
 
Line 4: Line 4:
 
To receive logs from NXFilter for remote parsing, because users be doin' stuff!
 
To receive logs from NXFilter for remote parsing, because users be doin' stuff!
 
===Commands===
 
===Commands===
For me rsyslog was already installed from the minimal install package, just needed to update the config file. In this case I am running on the same server NXFilter is running on.<ref>https://www.rsyslog.com/tag/ruleset/</ref>
+
For me rsyslog was already installed from the minimal install package, just needed to update the config file. In this case I am running on the same server NXFilter is running on.<ref>https://www.rsyslog.com/tag/ruleset/</ref><ref>https://www.youtube.com/watch?v=fewUSu_QZAY</ref>
 
*Check that the following entries are set correctly.
 
*Check that the following entries are set correctly.
 
/etc/rsyslog.conf
 
/etc/rsyslog.conf

Latest revision as of 10:43, 3 April 2018

CentOS 7

[1]

Purpose

To receive logs from NXFilter for remote parsing, because users be doin' stuff!

Commands

For me rsyslog was already installed from the minimal install package, just needed to update the config file. In this case I am running on the same server NXFilter is running on.[2][3]

  • Check that the following entries are set correctly.

/etc/rsyslog.conf

Ruleset (name="nxfilter") {Action (type="omfile" file="/var/log/nxfiltersys.log")}

# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
Input (type="imudp" port="514" ruleset="nxfilter")