On Thu, 28 Jan 2021, Jason Prouty via rsyslog wrote:
Not sure how to address this in a rule file the field for srcintf sometimes sent as srcintf=unknown-0 other times it is srcintf="rootprivate0" one has quotes the other does not.
three options 1. make two rules, one for each variation 2. I think there is a type for an optionally quoted string 3. you can create your own type with alturnatives David Lang _______________________________________________ rsyslog mailing list https://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.