Dashboards & Visualizations

How to edit my Simple XML to refresh a dashboard panel with a drop-down input?

Lucas_Henry_
New Member

So I've attempted to use some Simple XML coming in the new Splunk release, but I can't get it working quite right.

The search works, but the panel does not refresh. What am I doing wrong?

Code below:

<form>
  <label>FileNet Errors refresh tester</label>
  <fieldset submitButton="false" autoRun="true"></fieldset>
  <row>
    <panel>
      <input type="dropdown" token="refresh" searchWhenChanged="true">
        <label>Refresh</label>
        <choice value="5s">Every 5 seconds</choice>
        <choice value="30s">Every 30 seconds</choice>
        <choice value="0">Never</choice>
        <default>0</default>
      </input>
      <single>
        <search>
          <query>index=ecm* | stats count</query>
          <earliest>-15m</earliest>
          <latest>now</latest>
          <refresh>$refresh$</refresh>
          <refreshType>interval</refreshType>
        </search>
      </single>
    </panel>
  </row>
</form>
0 Karma

gokadroid
Motivator

Seems a duplicate question to this:

https://answers.splunk.com/answers/442576/refresh-a-panelform-using-a-dropdown.html

A lot of good stuff is there and if anyone of it works out, please up vote here too 😄

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...