Information: Forum is in read-only mode
For details and other support options see https://www.adiscon.com/news/support-forum-set-to-read-only-mode/

Unknown Priority Error Name ""

This is the place for you, if you got rsyslog up and running but wonder how to make it do what you want.

Moderator: alorbach

Google Ads


Unknown Priority Error Name ""

Postby ashish.lal » Wed Jan 17, 2018 9:11 pm

Not sure why I am getting this error. My rsyslog config file seems ok
Below the Error I am getting
rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c5 as the first rsyslogd option.
rsyslogd: unknown priority name "" [try http://www.rsyslog.com/e/3000 ]
rsyslogd: the last error occured in /etc/rsyslog.conf, line 26:"@InputUDPServerBindRuleset remote"
rsyslogd: warning: selector line without actions will be discarded
rsyslogd: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ]
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock

# rsyslog v5 configuration file
#### MODULES ####

$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)
$ModLoad imklog # provides kernel logging support (previously done by rklogd)
#$ModLoad immark # provides --MARK-- message capability

# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

# Provides TCP syslog reception
#$ModLoad imtcp
#$InputTCPServerRun 514


#### GLOBAL DIRECTIVES ####

# Use default timestamp format
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat

# Include all config files in /etc/rsyslog.d/
$IncludeConfig /etc/rsyslog.d/*.conf

#Global Listener
@InputUDPServerBindRuleset remote

#************************ Syslog Collection*********************************** ##

#FIREWALLS

#Primary internet context FW
if $fromhost-ip== '10.42.1.1' then /var/log/rsyslog/firewall.log
&~
#Secondary internet context FW
if $fromhost-ip== '10.42.1.2' then /var/log/rsyslog/firewall.log
&~
#Primary VPN context FW
if $fromhost-ip== '10.43.1.1' then /var/log/rsyslog/firewall.log
&~
#Secondary VPN context FW
if $fromhost-ip== '10.43.1.2' then /var/log/rsyslog/firewall.log
&~
#Primary DataCenter FW
if $fromhost-ip== '10.45.1.1' then /var/log/rsyslog/firewall.log
&~
# FROM CISCO APIC
if $fromhost-ip== '192.168.0.2' then /var/log/rsyslog/apic.log
&~

#Guest Server
if $fromhost-ip== '10.18.1.12' then /var/log/rsyslog/guest_net.log
&~

##RADIUS LOGS##
if $fromhost-ip== '10.50.0.50' then /var/log/rsyslog/radius.log
&~

#ACS
if $fromhost-ip== '10.20.20.100' then /var/log/rsyslog/radius.log
&~
if $fromhost-ip== '10.20.20.105' then /var/log/rsyslog/radius.log
&~
#UCSD
if $fromhost-ip== '10.20.20.15' then /var/log/rsyslog/radius.log
&~
##WebSense##
if $fromhost-ip== '10.42.1.27' then /var/log/rsyslog/websense.log
&~

if $fromhost-ip== '10.42.1.25' then /var/log/rsyslog/websense.log
&~

if $fromhost-ip== '10.55.2.26' then /var/log/rsyslog/websense.log
&~

local1.* /log/cisco/device.log
local6.* /log/rsyslog/cisco-switches.log


## ***********************END ********************************************************#

#### DEFAULT RULES ####

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /log/messages

# The authpriv file has restricted access.
authpriv.* /log/secure

# Log all the mail messages in one place.
mail.* -/log/maillog


# Log cron stuff
cron.* /log/cron

# Everybody gets emergency messages
*.emerg *

# Save news errors of level crit and higher in a special file.
uucp,news.crit /log/spooler

# Save boot messages also to boot.log
ashish.lal
New
 
Posts: 1
Joined: Wed Jan 17, 2018 8:56 pm

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Google Ads


Return to Configuration

Who is online

Users browsing this forum: No registered users and 1 guest

cron