Splunk Search

Network topology

Zhanali1
Loves-to-Learn Lots

Hi everyone!
Maybe someone faced such a problem:

I want to build a Layer 2 network topology, I have enough data for this. I am working with the Network Diagram Viz app. And I have a table of links, something like this:

from
tolocal_intremote_intlinkcolortypelinktextvalue
AIC-switch-2960.aic.kzSW9300test.aic.kzGi0/1Gi1/0/23greendeployment-serverGi0/1 to Gi1/0/23AIC-switch-2960.aic.kz
SW9300test.aic.kzAIC-switch-2960.aic.kzGi1/0/23Gi0/1greendeployment-serverGi1/0/23 to Gi0/1SW9300test.aic.kz
SW9300test.aic.kzSW3850test.aic.kzGi1/0/9Gi1/0/9 greendeployment-serverGi1/0/9 to Gi1/0/9SW9300test.aic.kz
SW9300test.aic.kzSW3850test.aic.kzGi1/0/10Gi1/0/10 greendeployment-serverGi1/0/10 to Gi1/0/10SW9300test.aic.kz
SW3850test.aic.kzSW9300test.aic.kzGi1/0/9Gi1/0/9 greendeployment-serverGi1/0/9 to Gi1/0/9SW3850test.aic.kz
SW3850test.aic.kzSW9300test.aic.kzGi1/0/10Gi1/0/10 greendeployment-serverGi1/0/10 to Gi1/0/10SW3850test.aic.kz
AIC-switch-2960.aic.kzSIP-W60BGi0/12WAN PORTgreenphone-squareGi0/12 to WAN PORTAIC-switch-2960.aic.kz

 

And, accordingly, in the topology, this is:

Zhanali1_1-1627294670617.png

I took information about connected devices from AIC-switch-2960.aic.kz, SW9300test.aic.kz and SW3850test.aic.kz.

I just need to remove non-redundant links from the table. What solution can you advise to delete such entries automatically or some other way?

Thanks!

 

 

Labels (1)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@Zhanali1 

Can you please share your expected output from your provided sample ?

KV

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...