Splunk Search

how to create third dropdown and link first two dropdown

priyastalin
Explorer

Hi Team, @gcusello 

 
 

I have created two dropdown (Group and Device) I want create another dropdown timeframe and link first two dropdown with timeframe dropdown. How to achieve this?

Group     Device  Timeframe

 

Please help me in clearing my doubts.

Thanks,

Priya

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @priyastalin,

to create a chain in inputs, you gave to insert the token of the previous input in the second.

So if the first and the second dropdowns are $group$ and $device$

in the search of the third dropdown put the two tokens:

your_search $group$ $device$
| dedup timeframe
| sort timeframe
| table timeframe

Ciao.

Giuseppe

0 Karma

priyastalin
Explorer

Hi @gcusello 

Yes first and second dropdown are linked together and tokens are $group$ and $device$. But I dont know how to create third dropdown Timeframe and link first two dropdowns.

 

Thanks,

priya

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @priyastalin,

as you can see in my previous answer, you have to identify the search to list the timeframes and then use the other two tokens.

Can you share the search for timeframe?

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

ATTENTION!! We’re MOVING (not really)

Hey, all! In an effort to keep this Slack workspace secure and also to make our new members' experience easy, ...

Splunk Admins: Build a Smarter Stack with These Must-See .conf25 Sessions

  Whether you're running a complex Splunk deployment or just getting your bearings as a new admin, .conf25 ...

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...