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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...

Build and Launch AI Agents from Your Splunk Workflows

  Register We’ve all been there: juggling alerts, runbooks, and endless manual searches. What if you could ...

Splunk Cloud Application Management in Terraform

Register   On Tuesday, August 4 at 11AM PDT / 2PM EDT, we’re diving into how you can bring Infrastructure as ...