Dashboards & Visualizations

Token value refresh in panel

me74fhfd
Path Finder

Hi,  all

I've seen similar use-cases on forum but haven't found any that applies here
So, I've got a panel that lists and compares data with domain whitelist with option
to add it. Idea is to refresh panel values and remove domain from list once it has been 
added to the whitelist. Now, it works in scenario where only one domain is added or 
all domain are added with refreshing page in between but it does not work if I was about to 
click and add domains one by one with no page refresh. Can anyone help? Thanks

<form>
<label>The Test Panel</label>
<fieldset submitButton="false">
<input type="time" token="field1">
<label></label>
<default>
<earliest>-72h@h</earliest>
<latest>now</latest>
</default>
</input>
<input type="dropdown" token="input_white_domain_for_add">
<label>input_white_domain_for_add</label>
<search>
<query>| inputlookup wlist_domain.csv | eval domain="$add_domain$" | dedup domain | fields domain | outputlookup append=t wlist_domain.csv</query>
<earliest>0</earliest>
<latest></latest>
</search>
</input>
<input type="text" token="value1" depends="$hidden$">
<label>value1</label>
<default>rename comment as run</default>
</input>
</fieldset>
<row>
<panel>
<table>
<search>
<query>
| inputlookup domain_list.csv | stats count by domain | sort -count
| search NOT [| inputlookup wlist_domain.csv | dedup domain | table domain]
| eval ADD_TO_WLIST="add_to_whitelist"
| rename domain As Domain
| table Domain count ADD_TO_WLIST
| $value1$</query>
<earliest>$field1.earliest$</earliest>
<latest>$field1.latest$</latest>
</search>
<option name="drilldown">cell</option>
<option name="refresh.display">progressbar</option>
<drilldown>
<condition field="ADD_TO_WLIST">
<eval token="add_domain">$row.Domain$</eval>
<set token="value1">rename comment as run1</set>
</condition>
</drilldown>
</table>
</panel>
</row>
</form>

Labels (3)
Tags (3)
0 Karma
Get Updates on the Splunk Community!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk &#43; Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...