Aha!  This does clarify and it works like I hoped it would!

Thank you,
Brian

On Wed, Oct 31, 2012 at 1:06 PM, Rainer Gerhards
<rgerha...@hq.adiscon.com> wrote:
>
>
>> -----Original Message-----
>> From: rsyslog-boun...@lists.adiscon.com [mailto:rsyslog-
>> boun...@lists.adiscon.com] On Behalf Of Brian Knox
>> Sent: Wednesday, October 31, 2012 6:05 PM
>> To: rsyslog-users
>> Subject: [rsyslog] new "call" syntax and templates
>>
>> Is there a way to apply a template to a message that is being passed
>> to another ruleset via call?
>>
>> It may be best to describe my actual desired result:
>>
>> Say I have rule A, and in that rule I make a call to mmjsonparse.
>> After mmjsonparse, I call rule B
>> In rule B, are the properties derived from mmjsonparse still available?
>> Or, should I assume I always should call mmjsonparse at the "nearest"
>> point to an output action that I want to send those properties to?
>
> Let me say it this way: consider a call to be inlined. So actually the 
> message is "passed" as it is at the time you make the call. There is no 
> concept of "local message" (by intention).
>
> You can replace "call" by copy&pasting the ruleset in question to all the 
> places where you call it. It's semantically equivalent.
>
> Does this clarify? If not, pls tell me!
>
> Rainer
>>
>> Thanks!
>> Brian
>> _______________________________________________
>> 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.
> _______________________________________________
> 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.
_______________________________________________
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.

Reply via email to