Remote logging syslog

Is there a way to capture the logs to a remote server eg ubuntu /linux, ideally using existing protocols like rsyslog.
This would help with debugging and central management.

You can send to an UDP port, you can send to an MQTT topic, see the output of mos config-get debug