Dashboards & Visualizations

How to include Filter Parameters in Refresh Button

aditsss
Motivator

Hi Everyone,

 

I have one requirement.

I have created one Refresh button and on clicking on that its showing me the latest data. But when I am selecting any filter and clicking on Refresh Button its not taken the filters into Account.

Like I have one user textbox when I am putting any name in it and clicking on Refresh button its taking default values.

Can someone guide me on that. Below is my code for the same:

<label>Nifi Process Dashboard</label>
<fieldset submitButton="true" autoRun="true">
<html>
<a href="nifi_process_dashboard_clone" class="btn btn-primary">Refresh</a>
</html>
<input type="time" token="field1" searchWhenChanged="true">
<label>Date/Time</label>
<default>
<earliest>-15m</earliest>
<latest>now</latest>
</default>
</input>
<input type="text" token="process_tok1">
<label>Processor Id</label>
<default>*</default>
</input>
<input type="text" token="ckey" searchWhenChanged="true">
<label>Parent Chain</label>
<default></default>
<prefix>parent_chain="*</prefix>
<suffix>*"</suffix>
<initialValue></initialValue>
</input>
<input type="text" token="usr">
<label>User</label>
<default>*</default>
</input>
</fieldset>

Thanks in advance.

Labels (3)
0 Karma

manjunathmeti
Champion

href is referencing to dashboard with default tokens.

If you want to refresh the dashboard existing token values, try this:
https://community.splunk.com/t5/All-Apps-and-Add-ons/i-want-to-refresh-the-dashboard-on-button-click...

 

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...