Dashboards & Visualizations

How to Refresh Button without using JavaScript

aditsss
Motivator

Hi Everyone,

Is that possible I can add refresh Button to Refresh my Dashboard (It consists of one panel in tabular form).

I dont want to use JavaScript for Refresh Button. Is that possible to do?

Thanks in advance 

Labels (3)
0 Karma
1 Solution

manjunathmeti
Champion

hi @aditsss,

Replace <xml_file_name> with xml file name.

<fieldset submitButton="true" autoRun="false">
    <html>
       <a href="<xml_file_name>" class="btn btn-primary">Refresh</a>
     </html>
</fieldset>

 

If this reply helps you, an upvote/like would be appreciated.

View solution in original post

manjunathmeti
Champion

hi @aditsss,

Replace <xml_file_name> with xml file name.

<fieldset submitButton="true" autoRun="false">
    <html>
       <a href="<xml_file_name>" class="btn btn-primary">Refresh</a>
     </html>
</fieldset>

 

If this reply helps you, an upvote/like would be appreciated.

aditsss
Motivator

@manjunathmeti 

 

I tried like this but its not working

Can you guide me where I am wrong

<label>Nifi Process Dashboard Clone1</label>
<fieldset submitButton="true" autoRun="false">
<html>
<a href="<Nifi Process Dashboard Clone1>" class="btn btn-primary">Refresh</a>
</html>
<input type="time" token="field1" searchWhenChanged="true">
<label>Date/Time</label>
<default>
<earliest>-24h@h</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>

0 Karma

manjunathmeti
Champion

In below line, don't provide <> in href:

<a href="<Nifi Process Dashboard Clone1>" class="btn btn-primary">Refresh</a>

Replace <Nifi Process Dashboard Clone1> with xml name. You can find xml name in the URL also. If your dashboard xml file name is Nifi Process Dashboard Clone1.xml then use below line:

<a href="Nifi%20Process%20Dashboard%20Clone1" class="btn btn-primary">Refresh</a>

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!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...