Difference between revisions of "RSYSLOG"

From Michael's Information Zone
Jump to navigation Jump to search
(Created page with "==CentOS 7== <ref>https://www.itzgeek.com/how-tos/linux/centos-how-tos/setup-syslog-server-on-centos-7-rhel-7.html</ref> ===Purpose=== To receive logs from NXFilter for remote...")
 
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.
 +
*Check that the following entries are set correctly.
 +
/etc/rsyslog.conf
 +
<pre>
 +
$Ruleset nxfilter
 +
*.* /var/log/nxfiltersys.log
 +
$Ruleset RSYSLOG_DefaultRuleset
 +
 +
# Provides UDP syslog reception
 +
$ModLoad imudp
 +
$UDPServerRun 514
 +
$InputUDPServerBindRuleset nxfilter

Revision as of 09:40, 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.

  • Check that the following entries are set correctly.

/etc/rsyslog.conf

$Ruleset nxfilter
*.* /var/log/nxfiltersys.log
$Ruleset RSYSLOG_DefaultRuleset

# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
$InputUDPServerBindRuleset nxfilter