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!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...