When using Log Classic Processing, with SNMP traps, I want to create an attribute with the content of one of the following:
- CISCO-ENVMON-MIB::ciscoEnvMonSupplyState.1
- CISCO-ENVMON-MIB::ciscoEnvMonSupplyState.2
I have used the Processor definition below, replicating both cases. I was trying to join them, but adding strings or concatenating them doesn't work. I believe it might be somethibng specific to SNMP.
Ideas?
USING (INOUT "CISCO-ENVMON-MIB::ciscoEnvMonSupplyState.1":STRING )
| FIELDS_ADD(ciscoEnvMonSupplyState: COLUMN("CISCO-ENVMON-MIB::ciscoEnvMonSupplyState.1"))
Antonio Sousa