To install and configure rsyslog on CentOS 7 :
* Install rsyslog: Run the following command to install rsyslog:
sudo yum install rsyslog
* Start and enable rsyslog: Start rsyslog and enable it to start automatically on boot with the following commands:
sudo systemctl start rsyslog
sudo systemctl enable rsyslog
By default, rsyslog