I have been trying to learn where to begin with this, but I'm still struggling three days later, so I figured I would ask here.
I am trying to display OSPF and PIM neighbor tables that I have sent to syslog, but instead of displaying them with their IP addresses, I would like to use names I have in a csv file.
format of the csv file I think should be something like this:
ip, hostname
43.25.65.3, Router1
10.127.99.213, Router2
76.99.5.244, Router3
172.16.1.1, Router4
This is the syslog output from the router as it's shown in Splunk:
May 3 16:18:07 172.16.8.81 451: *Mar 1 00:32:24.691: %HA_EM-6-LOG: sys:
May 3 16:18:07 172.16.8.81 452:
May 3 16:18:07 172.16.8.81 453: Neighbor ID Pri State Dead Time Address Interface
May 3 16:18:07 172.16.8.81 454: 43.25.65.3 1 FULL/BDR 00:00:35 172.16.1.1 FastEthernet0/0
May 3 16:18:07 172.16.8.81 455: 76.99.5.244 1 FULL/BDR 00:00:38 10.127.99.213 FastEthernet1/0
I don't know how to go about actually applying this stuff to the syslog output. If anyone can suggest a simple way to accomplish this I would be so happy!
If there is an easier way to do this (No DHCP) then please suggest. Thanks!
... View more