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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...