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!

Automated Threat Analysis: Available in ES Premier

Automated Threat Analysis: Centralize and Accelerate Phishing Investigations in Splunk Enterprise ...

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...