🖥️rsyslog

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the rsyslog command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#  ██████╗ ███████╗██╗   ██╗███████╗██╗      ██████╗  ██████╗ 
#  ██╔══██╗██╔════╝╚██╗ ██╔╝██╔════╝██║     ██╔═══██╗██╔════╝ 
#  ██████╔╝███████╗ ╚████╔╝ ███████╗██║     ██║   ██║██║  ███╗
#  ██╔══██╗╚════██║  ╚██╔╝  ╚════██║██║     ██║   ██║██║   ██║
#  ██║  ██║███████║   ██║   ███████║███████╗╚██████╔╝╚██████╔╝
#  ╚═╝  ╚═╝╚══════╝   ╚═╝   ╚══════╝╚══════╝ ╚═════╝  ╚═════╝ 

## /etc/rsyslog.conf ##

# Mailserver Logs
if ( $fromhost-ip == '10.254.253.154' ) then -/opt/remotelogs/mx/mailgateway.log
& stop
if ( $fromhost-ip == '10.254.253.104' ) then -/opt/remotelogs/mx/mailgateway.log
& stop
if ( $fromhost-ip == '10.254.253.101' ) then -/opt/remotelogs/mx/mailgateway.log
& stop
if ( $fromhost-ip == '10.254.253.103' ) then -/opt/remotelogs/mx/mailgateway.log
& stop
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░