Hi,
I want to add the human readable description of error codes in my data. I've tried this
processors:
- add_fields:
when:
equals:
cisco_code: "106015"
fields:
cisco_description: 'Deny TCP (no connection) from A to B flags RST ACK on interface x'
- add_fields:
when:
equals:
cisco_code: "313005"
fields:
cisco_description: 'No matching connection for ICMP error message'
which works, but isn't very maintainable. I do have a csv with the info i'd like
106015;Deny TCP (no connection) from A to B flags RST ACK on interface x
313005;No matching connection for ICMP error message
Is there a way to make use of that csv file to do this?
Thnx
Ton