I had a dashboard that was XML but because we needed it to be themed in a very specific way we had to switch it to a HTML dashboard.
When the dashboard refreshes the data in XML, a progress bar appears above the chart and the chart does not go white.
Does anyone know what needs to be done to get the progress bar to show rather than the entire chart going white for a HTML dashboard?
I have tried adding "refresh_display" : "progressbar" to the SearchManager but that does not appear to have any effect.
I am assuming you are trying Panel refresh in Splunk 6.5. I don't think the new feature of Splunk 6.5 to refresh XML panel by setting refresh option for panel search is available once you migrate it to HTML and might require you to request an enhancement.
However, if you can refresh the entire dashboard then you can
Option 1: Add the following in XML (to refresh dashboard every 5 min i.e. 5*60)
PS: for Form similarly refresh command will be
Option 2: Or else add the following code in HTML (to refresh dashboard every 5 minutes):
submitTokens(); setTimeout("location.reload();", 300 * 1000); // // DASHBOARD READY //
I was able to get the panel to refresh by setting "refresh" : "5s" when the instantiation of the searchMananger happens. This works but it makes the panel go white.
I also tried manually by adding however, the same does not refresh the panel. There are other "new" features of Splunk 6.5 which work only in XML and not HTML like the table cell color. So, see if you can use the other option to refresh the entire dashboard through above option or else, request a Splunk Enhancement case by calling in support.