All over the web I find examples for either (1) rsyslog to a remote server or (2) rsyslog with templates, but never both. When I have this /etc/rsyslog.conf on my Mac it sends to the remote server fine:
*.* @10.1.38.223
But when I change to this, no network traffic is sent out to the remote server (verified with tcpdump):
$template MyTemplate, "MacOSX %msg%"
*.* @10.1.38.223;MyTemplate
Is it not possible to append extra text like this to messages logged remotely?