Trying to do a Processor definition using an SNMP attribute like CISCO-SMIciscoMgmt.311.1.1.2.1.17.0
The idea is that when the value is “4” it changes loglevel to “WARN”:
USING (INOUT loglevel:STRING, CISCO-SMIciscoMgmt.311.1.1.2.1.17.0) | FIELDS_ADD(loglevel:IF_THEN(CISCO-SMI::ciscoMgmt.311.1.1.2.1.17.0 == '4', "WARN"))
It gives the following error: “Invalid processing rule definition: invalid used symbol: SMIciscoMgmt.311.1.1.2.1.17.0 at 1:36 - no viable alternative at input ‘CISCOSMIciscoMgmt.311.1.1.2.1.17.0’”
i haven’t managed to escape it and involving it with " or ’ also doesn’t work. Any ideas?