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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...