Dashboards & Visualizations

How to add a refresh link in my dashboard

Path Finder

I need to add a refresh link on my dashboard which when clicked should refresh my dashboard.

1 Solution

Path Finder

Hi templier,
Thanks for the link,but I am looking for explicity defining a refresh link which would appear as a link on my dashboard. So that user can click on it and refresh at it will.
Do you have something on it ?

View solution in original post

0 Karma

New Member
 <fieldset submitButton="false" autoRun="false">
    <html>
      <div style="text-align: right;" >
       <a href="<name_of_your_xml_without_extension>" class="btn btn-primary">Refresh</a>
       </div>
     </html>
  </fieldset>

You can remove the class="btn btn-primary" to get it as a link.
You can tinker around with div tag for formatting.

0 Karma

Path Finder

Hi templier,
Thanks for the link,but I am looking for explicity defining a refresh link which would appear as a link on my dashboard. So that user can click on it and refresh at it will.
Do you have something on it ?

View solution in original post

0 Karma

Path Finder

Hi Templier,
It seems the above link you mentined needs to be placed in every panel.When I try to place it on top of my dashboard its not appearing anywhere.Copying my code here,Can you let me know where am I going wrong.
Not sure how to make the link visible on top.

Consolidated Monitoring

true

0 Karma

Communicator

So, maybe function refresh.link.visible can help you.

0 Karma

Path Finder

Yes, I need to give a link on my dashboard which would refresh my dashboard when clicked.
Basically I need it because I need to reset the value of my tokens so that the results come correct.

0 Karma

Communicator

Hello,
Maybe you need something like this .

Sergey

0 Karma

Path Finder

Thanks,
I did it using HTML Tag...Its working fine now.

0 Karma

New Member

hello shivendra_infy,

do you still have the technique you made to make it work?

tnx

0 Karma

SplunkTrust
SplunkTrust

By link, do you mean adding a button in your dashboard which when clicked will repopulate the panels with new data?

How many panels are on your dashboard? Are they post processing?

You could create a button which will launch a search (This will repopulate the panels with updated data)

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!