How do I configure rsyslog to send logs from a specific program to a remote syslog server? — Ask Ubuntu

Источник: How do I configure rsyslog to send logs from a specific program to a remote syslog server? - Ask Ubuntu.

Rsyslog config files are located in: /etc/rsyslog.d/*.conf

Rsyslog reads the conf files sequently, so it is important that you name your config file so that the specific config is loaded before anything else happens. [...]