I'd like the ability to set messages from rsyslog to remote loggers using the FQDN of the VyOS host. I was able to manually get this done by performing the following:
set system host-name my-vyos-host01 set system domain-name example.com commit
Then I modified the /etc/rsyslog.conf file to include the following directive:
Once that is done, restart rsyslog:
service rsyslog restart
Once done, i started receiving messages from my-vyos-host01.example.com instead of just the short name.
I would like to be able to set this as a boolean from the set of exposed VyOS commands, perhaps as:
set service syslog preserve-fqdn