Splunk Search

How to search against index with network device log and find and combine ospf link down?

myitlab1000
Explorer

Hi,

I would like to search against index with network device log.
I would like to know how i could find and combine ospf link down.

For example :

Equipment 1 interface serial0/0/1 src_ip 192.168.1.10 neighbor interface serial0/1/1 dest_ip 192.168.1.9 count_down=10
Equipment 2 interface serial0/1/1 src_ip 192.168.1.9 neighbor interface serial0/0/1 dest_ip 192.168.1.10 count_down=10

I would like a result to combine the two line above in one line like below, with transaction for example (reverse ip, src_ip=192.168.1.10,dest_ip=192.168.1.9 => dest_ip=192.168.1.10,src_ip=192.168.1.9) :

Equipment 1 src_ip 192.168.1.10 Equipment 2 dest_ip 192.168.1.9 count_down=10

Thank you for your help

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...