Dashboards & Visualizations

smart input text/dropdown on a dashboard?

dbcase
Motivator

Hi,

Is it possible to have a "smart" text or dropdown input on a dashboard?

Example:

Here is a list of account ID's

1234
1112
1113
2001
2002
3999
3998
3400

If a user inputs the number 1 then the list would be narrowed down to
1234
1112
1113

then if the user inputs another 1 (input now = 11) then the list would be further narrowed down to
1112
1113

Is this sort of thing possible?

0 Karma

niketn
Legend

@dbcase, just add atleast one static choice and you should have a Text Box based filter as well. Following run anywhere example has All as a static choice i.e. <choice value="*">All</choice>

  <fieldset submitButton="false">
    <input type="dropdown" token="tokDropdown" searchWhenChanged="true">
      <label>Dynamic Dropdown</label>
      <fieldForLabel>data</fieldForLabel>
      <fieldForValue>data</fieldForValue>
      <search>
        <query>|  makeresults
|  eval data="1234;1112;1113;2001;2002;3999;3998;3400"
|  makemv data delim=";"
|  mvexpand data
|  table data</query>
        <earliest>-24h@h</earliest>
        <latest>now</latest>
      </search>
      <choice value="*">All</choice>
    </input>
  </fieldset>

Please try out and confirm!

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

somesoni2
Revered Legend

I think the multiselect input does that.

0 Karma

dbcase
Motivator

ding ding! worked perfectly! Thanks somesoni2!!

0 Karma

niketn
Legend

@dbcase, I have converted @somesoni2 's comment to Answer. Please accept to mark this question as answered! 🙂

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...