Splunk Search

Minimizing relationships between objects

pguillen_splunk
Splunk Employee
Splunk Employee

Let's say I am using a visualization to map the relationships between different "objects" (my use case isn't IT specific but you could also call these "objects" devices), and up to this point my data looks like the table below. This table shows the connection from one object to another (A goes to B, B goes to C,etc.)

FROMTO
AB
BC
CD
XC
Y

C

C

Z

 

Now, what I want to do in order to de-clutter my visualization is "collapse" paths based on the object. I've determined objects B and C are nonessential to my use case and would like minimize the map by relating A to D instead of A to B to C to D and X to Z instead of X to C to Z. So my final goal is for the table to look like:

FROMTO
AD
XZ
YZ

 

Is it possible to structure a search to perform this transformation, or is the only solution to write a custom search command?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @pguillen_splunk,

is it possible adding a condition to your main search?

your_search NOT (FROM="B" OR FROM="C" OR TO="B" OT TO="C")
| ...

 Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...