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!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...