> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Francois Billard
> Sent: Thursday, November 17, 2011 7:29 PM
> To: [email protected]
> Subject: [rsyslog] Relay distinction
> 
> Hi,
> 
> 
> 
> I have rsyslog relay installed on my customers sites, they all relay
> syslog
> at my datacenter.
> 
> To distinguish my customers (not possible on IP), i would like to
> configure
> the rsyslog customer config file to concatenate a string (the name of
> the
> customer) with the syslog message (no matter if the customer name is
> hardcoded in the config file). How could i do that ?


You can do this with a custom template, probably based on the default
templates. That would be along the lines (search doc correct details):

$template mytempl,"...CUSTOMERA..."
@@ h.example.net;mytempl


Hth
rainer
> Thanks
> 
> 
> 
> 
> 
> Regards,
> 
> Francois
> 
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/

Reply via email to