On Tue, 12 Apr 2016, Alec Swan wrote:

Hi there,

Is there a reason why imfile reports file name as $!metadata!filename
causing it to be automatically included in $!all-json? All other
properties, such as $programname, $hostname, etc., don't start with $! and
hence are not automatically included in $!all-json, which I think is the
desired behavior.

the properties that don't have ! in them all existed before rsyslog had the concept of variables that could be defined. They are legacy oddballs.

you can use the set/unset commands to move it wherever you want and remove it from $! tree.

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.

Reply via email to