December 2018
Beginner
826 pages
22h 54m
English
Use the following rsyslog change to start forwarding centos2 logs to Logstash of the centos1 instance:
$ sudo sed -i 's/#*.* @@remote-host:514/*.* @192.168.33.10:5000/g' /etc/rsyslog.conf$ sudo systemctl restart rsyslog
You can test your configuration by using the following on centos2:
$ logger -p syslog.err "Digimon was better than Pokemon."