Splunk Search

Multiple independent dropdowns in a Dashboard

behymejt2012
Path Finder

Creating a dashboard with 3 independent dropdowns (country,state,city). The ideas is for the user to select or more of the dropdowns and based on the selection it will populate a table.

For example, if the user selects only the country dropdown (lets say United States) then the other 2 dropdowns will default to selecting all.

When creating the search for the table and passing the value for the country is simple, my question is for the other two fields, is it possible to do the following or something similar:

| where country ="United States", state=ALL, city=ALL

Any help or guidance would be appreciated!!

Tags (2)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

you can either set the default value to "*", or you can have the input/dropdown use a prefix to the field value. if there is no field value selected at all, then the prefix will also be omitted, so the term will not even exist in your search template.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...