SHORT INTRODUCTION
Syslog
We need one Main-server(192.168.33.25) & two client-server: client1(192.168.33.30) & client2(192.168.33.31), Make sure all are accessible
UCP & TCP are two Protocols for receiving logs which supported by rsyslog & TCP protocol also provides reliable transmission of logs
Login into both client servers – 192.168.33.30 & 192.168.33.31
Step 1: Install the Syslog Service on both Client Servers :
Start & Enable their Services:
Now, Edit the rsyslog configure file :
At the bottom of the file copy paste the below lines in both client servers & change server-ip into yours –
Now, Restart the Syslog Service –
Login into a Main-server – 192.168.33.25
Step 2: Installing Syslog package in the Main-Server
Start & Enable their Services:
Now install & configure rsyslog –
Search the UDP/TCP syslog reception & uncomment the below lines:
Save & Exit
Restart the rsyslog service
Validate:
No responses yet