There is something fishy. I did a quick test, and it looks like the optimizer combines literal parser where it should not do...
Rainer 2016-12-21 17:05 GMT+01:00 Rainer Gerhards <[email protected]>: > IMHO storing a literal should work, as long as a name is assigned to the > literal parser. > > Rainer > > 2016-12-21 16:54 GMT+01:00 David Lang <[email protected]>: > >> On Wed, 21 Dec 2016, mostolog--- via rsyslog wrote: >> >> Does this means we shouldn't store the literal as variable? What If we >>> need to? >>> >> >> Can you explain your ruleset where you need to store literal as a value >> in the json? >> >> I think the original thinking was that since this is a fixed value, >> storing it as a variable doesn't help. >> >> 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. >> > > _______________________________________________ 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.

