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 ?

Tags (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...