Testing rsyslog remote logging
I have two virtual machines, VM1 and VM1.
On VM1, I set the firewall like so: Code:
firewall-cmd --zone=public --add-port=510/tcp --permanent The /etc/rsyslog.conf fragment for both VMs have this: Code:
... ... Quote:
And I added this in its /etc/rsyslog.conf: Code:
# Provides UDP syslog reception Code:
sudo systemctl stop rsyslog.service Code:
# Provides UDP forwarding Code:
sudo systemctl stop rsyslog.service Code:
logger -p local0.info "message: rsyslog logging From VM2 to VM1" But I only see it in VM2, and did not see any such message in VM1. It seems there is a log in recording message in VM2 even though I was sending logger info in VM2. Why the delay? How do I make write to /var/log/messages much faster. What did I missed with regard to VM1 not registering the remote logging message sent from VM2? Thank you. |
Error found:
# Provides UDP forwarding *.* @@10.0.0.50 #this is VM1 revised to # Provides UDP forwarding *.* @10.0.0.50 #this is VM1 |
Following
|
All times are GMT -5. The time now is 02:09 PM. |