Hi, We are using rsyslog 8.24.0 I am using templates of redirect the output to a file for example
template (name="server-path" type="string" string="/user_data3/SITE/syslog/server/%HOSTNAME%/%$NOW%-syslog.log") This is working fine but everything is going to a file called the FQDN of the host is there a way to strip this off. i just want the shortname? Many Thanks Adam -- Adam Barnett _______________________________________________ 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.