The ‘custom-domain()’ global option is used to specify a custom domain name that is appended after the short hostname to receive the FQDN. This option affects every outgoing message: eventlog sources, file sources, MARK messages and internal messages of syslog-ng PE.
In order for the ‘custom-domain()’ global option to work the ‘use-fqdn()’ global option must also be enabled as follows
++++++++++++++++++++++++++
options {
stats_freq(0);
custom-domain("CUSTOM.DOMAIN.OPTION");
use-fqdn(yes);
};
++++++++++++++++++++++++++
Here is a sample 'Before' Message:
Mar 11 11:38:45 centos75 systemd[1]: Starting Update UTMP about System Runlevel Changes...
And a corresponding 'After' Message:
Mar 11 11:40:42 centos75.CUSTOM.DOMAIN.OPTION systemd[1]: Starting Update UTMP about System Runlevel Changes...
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center