You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just want to update that it looks like all messages generated from rsyslog are forwarded with fqdn (pstats also), but everything else goes with hostname.
And it works if I change the template from:
string="/srv/log/%hostname%/%$YEAR%/%$MONTH%/%$DAY%/
to
string="/srv/log/%FROMHOST%/%$YEAR%/%$MONTH%/%$DAY%/
It seems that the latest rsyslog version doesn't respect preserveFQDN ="on"
Initial messages from rsyslog are sent with fqdn, but after that all messages are sent with hostname.
Setting localHostname doesn't help at all: no change in the hostname sent to remote server.
The text was updated successfully, but these errors were encountered: