I have been setting up some different servers, which all appear to work
well enough. One thing I have found when using the %hostname% property
to create dynamic files on the log store host is many names use the
short name and some use the FQDN and others use the IP. I am not
concerned about the IP based output but I would like to have a
consistant filename.
I have tried setting preserveFQDN and it doesn't work as I expected it
to. It seems this only results in a fully qualified domain name if it is
set on the sending host. Of course, one option is to add PreserveFQDN on
within the config of every sending host but that seems impractical and
error prone to me. Is there a way to use the regex property replacer to
check if the domain.tld portion of a hostname exists and if so, remove
it from the %hostname% property or check if domain.tld doesn't exist and
append it to the hostname. Either option works for me if it is possible.
Any other ideas are Welcome too.
Thanks for your time
Regards,
Brandon
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.