All Apps and Add-ons

Refresh of panel that uses the Sideview HTML module

sbrant_splunk
Splunk Employee
Splunk Employee

I have a dashboard that is comprised of mostly all panels that are driven by real-time searches. However, I have one panel that uses the Sideview HTML module and a real-time search will not work, as I need to control how often the content refreshes. I've tried putting a meta tag with a refresh inside of the HTML but that kicks the whole dashboard.

Is there a way to refresh just the HTML panel without redrawing the whole dashboard?

1 Solution

sideview
SplunkTrust
SplunkTrust

Well, to literally just refresh the HTML module and have it re-request it's data wouldn't do anything, because it wouldn't re-dispatch the search above.

And it sounds like you're aware of how to put refresh="60" into the <view> tag and you don't want that.

So, the alternative is basically to put an autoRefresh module in, or a Sideview CustomBehavior defined to do exactly that.

Siegfried has posted the source code for an autoRefresh module in http://splunk-base.splunk.com/answers/4263/can-you-refresh-a-single-modulechart-without-refreshing-t...

I'm going to put something to do the same thing in Sideview Utils, most likely as a sample customBehavior. It's simple enough that you could really make a dead-simple customBehavior and then not have the baggage of maintaining a whole module.

View solution in original post

sideview
SplunkTrust
SplunkTrust

Well, to literally just refresh the HTML module and have it re-request it's data wouldn't do anything, because it wouldn't re-dispatch the search above.

And it sounds like you're aware of how to put refresh="60" into the <view> tag and you don't want that.

So, the alternative is basically to put an autoRefresh module in, or a Sideview CustomBehavior defined to do exactly that.

Siegfried has posted the source code for an autoRefresh module in http://splunk-base.splunk.com/answers/4263/can-you-refresh-a-single-modulechart-without-refreshing-t...

I'm going to put something to do the same thing in Sideview Utils, most likely as a sample customBehavior. It's simple enough that you could really make a dead-simple customBehavior and then not have the baggage of maintaining a whole module.

Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...