Install the syslog by using below command in Linux terminal
sudo apt-get install rsyslog
Then type the below command and hit enter
apt-get update
Then type the below command and hit enter
apt-get upgrade
Then edit the rsyslog configurations file by using below command
vi /etc/rsyslog.conf
That will open a text editor
Press i and it will allow you to insert
Go to the bottom of that file and paste the bellow line
*. * @10.200.2.132:514
Now press esc button and type :wq
That will save the file
Run the below command to restart the rsyslog services
service rsyslog restart
Run the below command and that will send the “test from kali” message to syslog server so you can test
if your settings are working or not
logger "test from kali"