Open johnworkman opened 4 years ago
similar issue:
config:
tables => [ { name => "ifTable_v3" columns => [ "1.3.6.1.2.1.2.2.1.1", "1.3.6.1.2.1.2.2.1.2", "1.3.6.1.2.1.2.2.1.10", "1.3.6.1.2.1.2.2.1.16", "1.3.6.1.2.1.2.2.1.11", "1.3.6.1.2.1.2.2.1.17", "1.3.6.1.2.1.2.2.1.12", "1.3.6.1.2.1.2.2.1.18", "1.3.6.1.2.1.2.2.1.13", "1.3.6.1.2.1.2.2.1.19", "1.3.6.1.2.1.2.2.1.14", "1.3.6.1.2.1.2.2.1.20" ] } ] output:
"ifTable_v3": [ { "ifInErrors": 0, "index": "1", "ifIndex": 1 }, { "ifOutErrors": 0, "index": "2", "ifDescr": "ether2-master" }, { "ifInOctets": 1082509867, "index": "3", "ifInErrors": 0 }, { "ifOutErrors": 0, "index": "4", "ifOutOctets": 0 }, { "ifInErrors": 0, "index": "5", "ifInUcastPkts": 0 }, { "ifOutErrors": 0, "index": "6", "ifOutUcastPkts": 132675414 }, { "ifInErrors": 0, "index": "7", "ifInNUcastPkts": 0 }, { "ifOutErrors": 0, "index": "8", "ifOutNUcastPkts": 0 }, { "ifInErrors": 0, "index": "11", "ifInDiscards": 0 }, { "ifOutErrors": 0, "index": "12", "ifOutDiscards": 0 } ] },
Using this configuration in logstash:
Produces this output:
The columns crasUsername (1.3.6.1.4.1.9.9.392.1.3.21.1.1) and crasSessionIndex (1.3.6.1.4.1.9.9.392.1.3.21.1.3) are absent from the output.
This is using CISCO-REMOTE-ACCESS-MONITOR-MIB