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.
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...