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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...