How to send logs from Omega2+ to remote syslog (rsyslog) server?
-
How to send logs from Omega2+ to remote syslog (rsyslog) server?
-
Assuming you are using the standard port and UDP on your log server and have the firewall on the server correctly configured, these are the required commands:
uci set system.@system[0].log_port='514'
uci set system.@system[0].log_proto='udp'
uci set system.@system[0].log_ip='192.168.1.214' <------ ip of your log server
uci set system.@system[0].log_remote='1'
uci commit system
service log restart