Dashboards & Visualizations

Change default "Select..." text in Drop Down.

Hello - I would like to change the default value of "Select..." to "Filter..." how might I go about this?  

jason_hotchkiss_0-1606154925436.png

I do not want it to be an option as I am using:
<input type="dropdown" token="user" searchWhenChanged="false">
<change>
<condition match="len($value$) &gt; 0">
<set token="user">user="$value$"</set>
</condition>
<condition>
<set token="user"></set>
</condition>
</change>
<label>Identity</label>
<allowCustomValues>true</allowCustomValues>
<fieldForLabel>test</fieldForLabel>
<fieldForValue>test</fieldForValue>
<search>
<query>|makeresults
|eval test=""</query>
</search>
</input>

 

Thanks in advance.

Labels (2)
0 Karma

Communicator

Hi @jason_hotchkiss ,

As you are populating the drop-down using dynamic values via query, you cannot set the default value for the dropdown.
I tried to give the static value as Filter and set it as a default value in the dropdown. It works as you want but I am not sure how it reacts when it populates the value from the query and the token you use in the subsequent queries.

0 Karma
Don’t Miss Global Splunk
User Groups Week!

Free LIVE events worldwide 2/8-2/12
Connect, learn, and collect rad prizes
and swag!