er, three questions ;) On Wed, Dec 3, 2014 at 6:04 AM, Brian Knox <[email protected]> wrote:
> So two questions then: > > 1. In the case of using mmjsonparse on messages where we do not know > ahead of time what all the. json attributes will be, is there a var for a > place in the tree where we can get all attributes that were in the cee > message? > > 2. If mmsequence is being deprecated, is there a pointer to how to > increment global variables to provide a sequence? > > 3. This morning I remembered the "mmcount" module - is this also being > deprecated in favor of global variables? > > Brian > > On Wed, Dec 3, 2014 at 3:52 AM, Rainer Gerhards <[email protected]> > wrote: > >> 2014-12-02 21:59 GMT+01:00 Brian Knox <[email protected]>: >> >> > We have a case where we are receiving messages in @cee: format, and >> would >> > like to add a sequence variable generated via mmsequence to the message. >> > >> > Before I spend too much time digging into this I wanted to ask if, using >> > some template hackery and json subtrees, this is something that sounds >> > possible - and if maybe someone else was already doing it. >> > >> > >> David has answered the real question, just let me add that mmsequence was >> a >> work-around for v7 where global variables were not available. It is now >> deprecated and will probably removed in a couple of month. >> >> I'll check the doc if it tells this clearly enough. >> >> 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.

