--- /dev/null
+# Initial /etc/rsyslog.d/50_rsyslog.conf for Enterprise Linux 7
+
+$umask 0000
+$DirCreateMode 0750
+$DirGroup root
+$DirOwner root
+$FileCreateMode 0600
+$FileGroup root
+$FileOwner root
+$PrivDropToGroup root
+$PrivDropToUser root
+$RepeatedMsgReduction on
+$maxMessageSize 64k
+$workDirectory /var/lib/rsyslog
+module(load="imjournal"
+ StateFile="imjournal.state"
+ IgnorePreviousMessages="off"
+
+)
+module(load="imuxsock"
+ SysSock.Use="off"
+
+)
+module(load="builtin:omfile"
+ fileOwner="root"
+ fileGroup="root"
+ dirGroup="root"
+ fileCreateMode="0640"
+ dirCreateMode="0755"
+
+)
+module(load="builtin:omusrmsg" )
+# Everybody gets emergency messages
+*.emerg :omusrmsg:*
+
+# Log all the mail messages in one place.
+mail.* -/var/log/maillog
+
+# Log anything (except mail) of level info or higher.
+*.info;mail.none;authpriv.none;cron.none /var/log/messages
+
+# Log cron stuff
+cron.* /var/log/cron
+
+# Save boot messages also to boot.log
+local7.* -/var/log/boot.log
+
+# Save news errors of level crit and higher in a special file.
+uucp,news.crit -/var/log/spooler
+
+# The authpriv file has restricted access.
+auth,authpriv.* /var/log/secure
+
--- /dev/null
+# Initial /etc/rsyslog.d/50_rsyslog.conf for Enterprise Linux 8
+
+$umask 0000
+$ActionQueueFileName queue
+$ActionQueueMaxDiskSpace 1g
+$ActionQueueSaveOnShutdown on
+$ActionQueueType LinkedList
+$ActionResumeRetryCount -1
+$PrivDropToGroup root
+$PrivDropToUser root
+$RepeatedMsgReduction on
+global (
+ parser.escapeControlCharactersOnReceive="on"
+ workDirectory="/var/lib/rsyslog"
+ maxMessageSize="64k"
+
+)
+module(load="imjournal"
+ StateFile="imjournal.state"
+ IgnorePreviousMessages="off"
+
+)
+module(load="immark")
+module(load="imuxsock"
+ SysSock.Use="off"
+ SysSock.FlowControl="on"
+ SysSock.RateLimit.Interval="600"
+ SysSock.RateLimit.Burst="20000"
+
+)
+module(load="builtin:omfile"
+ fileOwner="root"
+ fileGroup="root"
+ dirGroup="root"
+ fileCreateMode="0640"
+ dirCreateMode="0755"
+
+)
+module(load="builtin:omusrmsg" )
+# Everybody gets emergency messages
+*.emerg :omusrmsg:*
+
+# Log all the mail messages in one place.
+mail.* -/var/log/maillog
+
+# Log anything (except mail) of level info or higher.
+*.info;mail.none;authpriv.none;cron.none /var/log/messages
+
+# Log cron stuff
+cron.* /var/log/cron
+
+# Save boot messages also to boot.log
+local7.* -/var/log/boot.log
+
+# Save news errors of level crit and higher in a special file.
+uucp,news.crit -/var/log/spooler
+
+# The authpriv file has restricted access.
+auth,authpriv.* /var/log/secure
+