Dashboards & Visualizations

How to hide options in a drop-down menu based on input from a different drop-down menu?

freemesos888
New Member

Say I have apple, orange, and pear in a drop-down menu and in the other drop-down menu I have apple color, orange color, pear color, apple size, orange size, and pear size. if I select apple, I only want to see apple color and apple size In the second drop-down menu. How do I do this?

0 Karma

cmerriman
Super Champion

you will need to use the token from the first drop down in the second one.

for instance, in my search string for my second token, i have ...|search FIELD=$token1$|table FieldOfInterest
where token1 is what my first input is and FieldOfInterest is the field for what i need my second token to look in.

0 Karma
Get Updates on the Splunk Community!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...