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
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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...