Dashboards & Visualizations

How do I disable the auto refresh delay on all dashboards?

cotyp
Path Finder

I am looking to disable the auto refresh delay on all dashboards as an admin. Is there any way to do this?

Tags (1)
0 Karma

p_gurav
Champion

Hi,
You can disable it by putting <dashboard refresh="0"> in dashboard

cotyp
Path Finder

Thank you p_gurav but that would only solve it one dashboard. I am looking for a solution that can be added to a conf file or something of that sort.

0 Karma

ddrillic
Ultra Champion

We spoke about it last year at Does a dashboard keep refreshing itself by default?

A lot of cycles are wasted due to this feature ; -) apparently you need to do it for each dashboard.

0 Karma

cotyp
Path Finder

bummer! That's not what I want 😞

0 Karma

ddrillic
Ultra Champion

<dashboard refresh="0"> disables the refresh.

0 Karma

niketn
Legend

@cotyp what do you mean by auto refresh delay? Do you already have dashboard refresh? Do you want to have faster dashboard refresh or no dashboard refresh?

If you want dashboard refresh value as configurable, you can add the JavaScript to App's appserver/static folder from the following answer and include the JavaScript to your existing dashboard: https://answers.splunk.com/answers/550114/how-to-make-form-refresh-value-configurable.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

cotyp
Path Finder

I am trying to have no dashboard refresh

0 Karma

niketn
Legend

With the approach in the above answer, you need to sped effort once to have all your dashboard point to above a JavaScript file so that refresh time becomes configurable. Then you would need to modify the JavaScript when you have to change or disable the dashboard refresh.

Hope this is clear.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

niketn
Legend

@cotyp with the above approach one time configuration is required on all dashboards and then post that dashboard refresh becomes configurable. You can comment out JS code and dashboard refresh stops.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

deepashri_123
Motivator

hey cotyp,

Refer this link below:
https://answers.splunk.com/answers/508962/auto-refresh-a-dashboard.html

You have to edit xml and make changes on all dashboards.

0 Karma

cotyp
Path Finder

I am looking to the opposite of what you are suggesting. I want to not have dashboards be able to auto-refresh.

0 Karma

parulguha
Loves-to-Learn

Hi @cotyp 
Were you able to find the solution to your problem. Please share the solution if you found one.
I want to do the same, disable autorefresh from all the existing Dashbaords in our environment?

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @parulguha ... if you could copy-paste the html code of the dashboard (after removing ip address, hostnames, etc), we can help you better, .. thanks. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

parulguha
Loves-to-Learn

@inventsekar Thank you for your response.

There is not just one Dashboard.

We need to list out all the Dashboards that have autorefresh enabled. For which we don’t want to go one by one looking into the dashboards to find out because there are more than 1000 dashboards.

Thank you in advance.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...