On Mon, 2 Jun 2014, Rory Toma wrote:
I have a template that is of the form:
$template Test,"<%PRI%>%TIMESTAMP% %HOSTNAME%
%syslogtag:1:32%%msg:::sp-if-no-1st-sp%%msg:::space-cc%"
This results in a full path on my receiver for programname. Is there a way I
can have it send only the basename, and not the path?
I'm not understanding what you are asking, programname doesn't appear anywhere
in this template
could you give an example of a log message you get, what the result currently is
with that message, and what you want it to be?
David Lang
_______________________________________________
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.