0% found this document useful (0 votes)
26 views

Sudo Apt-Get Install Rsyslog

To configure syslog logging on a Linux system: 1. Install rsyslog with "sudo apt-get install rsyslog", then update and upgrade packages. 2. Edit rsyslog configuration file "/etc/rsyslog.conf" to send logs to remote syslog server at 10.200.2.132 port 514. 3. Restart rsyslog service and test configuration by sending a test log message with "logger".

Uploaded by

Ahmed Waqas
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Sudo Apt-Get Install Rsyslog

To configure syslog logging on a Linux system: 1. Install rsyslog with "sudo apt-get install rsyslog", then update and upgrade packages. 2. Edit rsyslog configuration file "/etc/rsyslog.conf" to send logs to remote syslog server at 10.200.2.132 port 514. 3. Restart rsyslog service and test configuration by sending a test log message with "logger".

Uploaded by

Ahmed Waqas
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

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"

You might also like