I am using the SNMP Trap Input from marketplace. Now I try to use fields from Trap in pipeline rules, but they are always empty.
No MIB file is used, so each message contains fields with snmp oids. For example oid 1.2.3 will be shown as field snmp_1_2_3. In search field, I see that field snmp_1_2_3 has a value. Field test_1 has value “ok”, so I know this rule fires. But field test_2 is empty / not set.
Using has_field(snmp_1_2_3) in when clause does also not work.
rule "test" when true then set_field("test_1", "ok"); set_field("test_2", to_string($message.snmp_1_2_3)); end
Any ideas? THe Guthub projects seems not maintained and I dont have the skills to fix java code by myself.