This is a really quick article in passing really. I needed to configure my RouterBoard to point to my Syslog server for some testing purposes so I thought I’d document the process for others who might be trying to achieve the same thing.
To set up logging on RouterOS, run the following on your device
Note: I am using RouterOS v.5. I don’t have any hardware running other versions to verify if this also works on older versions of RouterOS
In the below example, the IP address 10.0.1.80 is my remote syslog server.
[admin@routeros] > /system logging action set remote bsd-syslog=yes name=remote remote=10.0.1.80 remote-port=514 src-address=0.0.0.0 syslog-facility=local0 syslog-severity=auto target=remote [admin@routeros] > /system logging add action=remote disabled=no prefix="" topics=!async
I hope this has proven useful.