On Wed, 25 Apr 2018, putcha narayana wrote:

set $.configuredSeverity = "6";
if ($syslogseverity <= $.configuredSeverity) -- this is allowed and we can add 
to the documentation.

Yes, this is allowed, any variable comparison is allowed

you can also do

if ($syslogseverity <= "6")

I'm not sure what would need to be added to the documentation, but if it's not clear that both of these would be allowed, please submit a PR (or even just an issue with suggested new wording) to help us make it clear

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