Dashboards & Visualizations

[Splunk Cloud] Refresh Whole Dashboard/Forum

Engager

I have a Splunk (6.4.0) instance where I run a dashboard/form that needs to refresh once a minute. When it refreshes, I would like the whole page to refresh (not the individual panels).

This has been accomplished by using either of the following:
< form refresh="60"> or < dashboard refresh="60">

However, I have a Splunk (6.6.0) instance and a Splunk Cloud (6.6.3.2) instance. Both of these, I try replicating the same process for both form and dashboard. However, it will only refresh each individual panel instead of the whole page.

Is there a way to refresh the whole form/dashboard natively (through Simple XML) in these versions of Splunk (specifically Splunk Cloud)?

0 Karma

SplunkTrust
SplunkTrust

Hey
You can do that using jQuery!
Just insert this code anywhere in the page:

<script type="text/javascript">
  setTimeout(function(){
    location = ''
  },10000)
</script>

Here 10000ms=10s interval
Let me know if it works!

0 Karma

Engager

It is very cumbersome/difficult to upload things to Splunk Cloud, such as the Javascript file that I would have to upload containing the code you suggested, and could be a hassle to update (unless if I am misunderstanding your post and that all of this can be done in the Simple XML).

Ideally, I would like a solution that uses Simple XML or tools that are easy to use in Splunk Cloud.

0 Karma

SplunkTrust
SplunkTrust

Hey I do not think there is any other way to do the same without javascript !

0 Karma

Engager

If that is the case, I believe Splunk should list that as either known features or deprecated features, as they are removing a feature that was used in previous versions of the product.

I appreciate your input.

0 Karma

Legend

@jsukenik, following refreshes every minute:

   setTimeout("location.reload();",60*1000);

Specially for applications running on cloud, I think partial form submission through <form refresh="60"> (using cache) is better than refreshing (pulling the dashboard from server). But it is your call as to what you want to implement.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Don’t Miss Global Splunk
User Groups Week!

Free LIVE events worldwide 2/8-2/12
Connect, learn, and collect rad prizes
and swag!