Dashboards & Visualizations

How to change search fields inside dashboard based upon other chosen fields?

New Member

trying to setup an interactive dashboard that takes user inputs and runs various searches.

First we select data type in $field1
Then enter text for that data in $field2 (the search string)
Then we select a radio button that tells us what type of data to look for ($field3) (the index)

Then run a simple search like

index=$field3$ $field1$=$field2$

The issue is that I need the value of $field1$ to change based on the value of $field3$, e.g. if $field3="pop" I want to set $field1 = "user", but if $field3="imp" I want to set $field1 = "auth"

0 Karma


I done similar things in the past based on post-process searches. The user would start by selecting the index they want to search from a list (your "field3"). Then a search is executed for the values that can be "field1".

Essentially, you are going from broadest category (the index) to more specific values (such as source type).

If your indexes and source type (or whatever "field1" represents) is static, then you should be able to do something similar with a lookup table.

0 Karma
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!


Or Learn More in Our Blog >>