Hi

While working with liblognorm we have found the /need/ of *using rule tags*.

However setting */rule=aa:%.:@syslog% Foo%message:rest%/* doesn't seem to add a /tags/ field to the message:

   <12>2017-02-09T13:32:34.884+01:00 computer tag:
   FooWhateverFollowsREDACTED

although it seems to parse it properly:

   { "message": "WhateverFollowsREDACTED", "syslogtag": "tag",
   "hostname": "computer", "date": "2017-02-09T13:32:34.884+01:00",
   "priority": "12"

Where is the metadata/tags field which is supposed to contain rule tags? $.tags? $.metadata? Is that documented somewhere?


Regards

_______________________________________________
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