Hello there,
I an in the midle of adding some SNMP monitoring data to our Elastic stack and I cannot find a good way to display the data in Kibana's dashboard.
I use logstash snmp input plugin and, thanks to this thread, I now have a lot of metrics for all the interfaces of my devices, now I am trying to filter and display them.
The _source field of my documents looks something like that :
"host": {
"name": "host398237a",
"version": "15.2.x",
"uptime": 248
},
"interfaces": {
"Ethernet1/1": {
"ifInErrors": 0,
"ifOperStatus": 1,
"ifAdminStatus": 1,
"ifOutOctets": 654810,
"ifInOctets": 69647,
"ifOutErrors": 0
},
"Ethernet1/2": {
"ifInErrors": 1489,
"ifOperStatus": 1,
"ifAdminStatus": 1,
"ifOutOctets": 644940,
"ifInOctets": 7090641,
"ifOutErrors": 0
}
}
What I would like to have is a visualization that displays the "top evolving" value of Errors counters.
As you can see one of the interface has error on it (ifInErrors) ; I dont really care about the value here, what I want to know is if it has evolved since last document. Even better, I dont care if the value decrease (it would mean the counter would have been reset).
I almost certain "counter rate" is what I want here, but where I struggle is to get "top X counter rate accross all interfaces of all devices", I don't even know if it is something doable.
Right now I can have one Kibana lens per value to monitor :
- lens1 : interfaces.Ethernet1/1.ifInErrors
- lens2 : interfaces.Ethernet1/1.ifOutErrors
- lens3 : interfaces.Ethernet1/2.ifInErrors
- lens4 : interfaces.Ethernet1/2.ifOutErrors
- ...
But you understand that not very realistic, that would mean having number_of_interfaces * number_of_metrics visualizations, which can easily reach the hundreds, if not thousands.
I think my issue here is ELK only allows me to work on the field "interfaces.Ethernet1/1.ifInErrors", where I want to work on something like "interfaces.*.ifInErrors".
I hope this was clear enough, any help is appreciated !
Regards