I am looking to disable the auto refresh delay on all dashboards as an admin. Is there any way to do this?
Hi,
You can disable it by putting <dashboard refresh="0">
in dashboard
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.
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.
bummer! That's not what I want 😞
<dashboard refresh="0">
disables the refresh.
@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
I am trying to have no dashboard refresh
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.
@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.
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.
I am looking to the opposite of what you are suggesting. I want to not have dashboards be able to auto-refresh.
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?
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.
@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.