Re: [rsyslog] How to get the app name (when it includes slashes) ?

2013-03-20 Thread Philippe Muller
On Wed, Mar 20, 2013 at 10:44 AM, Rainer Gerhards wrote: > On Tue, 2013-03-19 at 19:37 +0100, Philippe Muller wrote: > > Hi, > > > > I try to get a coherent names for programs who send messages to rsyslog. > > For most messages, $app-name or $programname do the job (I get $syslogtag > > without th

Re: [rsyslog] How to get the app name (when it includes slashes) ?

2013-03-20 Thread Rainer Gerhards
On Tue, 2013-03-19 at 19:37 +0100, Philippe Muller wrote: > Hi, > > I try to get a coherent names for programs who send messages to rsyslog. > For most messages, $app-name or $programname do the job (I get $syslogtag > without the trailing "[pid]:"). > > However, $app-name/$programname does not p

[rsyslog] How to get the app name (when it includes slashes) ?

2013-03-19 Thread Philippe Muller
Hi, I try to get a coherent names for programs who send messages to rsyslog. For most messages, $app-name or $programname do the job (I get $syslogtag without the trailing "[pid]:"). However, $app-name/$programname does not play well with some system defaults. For example, on RHEL6 servers, the c