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!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...