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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...