Forwarding logs from rsyslog client to a remote rsyslogs server
Software Requirements
- Linux operating system
- Rsyslog installed (version 5.0 or higher recommended)
- Root or sudo access
Network Requirements
- Network connectivity between client and remote server
- Defined IP address of the remote Rsyslog server
- Open network ports (typically 514 for UDP or TCP)
Step 1:
Rsyslog Client (machine)
- To login as root just type : sudo i-
- Enter root password
- Type: sudo yum update && yum install rsyslog, Note: please verify if syslog is successfully installed.
- Type the following commands for the for rsyslog server and rsyslog Client : systemctl start rsyslog and systemctl enable rsyslog
For Rsyslog Server and Rsyslog Client (machine)