rsyslog / liblognorm

a fast samples-based log normalization library
http://www.liblognorm.com
GNU Lesser General Public License v2.1
99 stars 64 forks source link

error message contains invalid type reference #356

Open kortemik opened 2 years ago

kortemik commented 2 years ago

loading

version=2

rule=:a %
        {"type":"alternative",
         "parser": [
                    {"name":"num", "type":"string", "matching.mode":"lazy"} 
                   ]
        }% b

will give out

liblognorm error: rulebase file boo.rb[8]: invalid param for hexnumber: "lazy"

version 2.0.4

while type hexnumber not used in the rule