Splunk Search

How to get the Indirect relation using Splunk Search ?

shivamagrawa
Explorer

Hello,

I have a data in which i have the employee name and the manager name.

I want to create a search where if someone select a name ( For Ex: John) it should return records where John is Manager Directly or Indirectly .

In below Example if i select John it should return all 3 records, Joy, Adam and Roy because Adam reports to John and Joy and Roy reports to Adam.

If i select Adam, it should only return 2 records, Joy and Roy.

_timeFirstNameManager Name
08th MarchJoyAdam
07th MarchAdamJohn
06th MarchRoyAdam

 

Can someone please help, how can i do that ?

Labels (1)
Tags (1)
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 ...