Dashboards & Visualizations

Is there an option to reload a single value panel in a dashboard?

HattrickNZ
Motivator

I have a dashboard with numerous panels composed of single values and radial gauges.

But sometimes some of them just sit there waiting to load, like below.

<a href="http://tinypic.com?ref=3588kfr" target="_blank"><img src="http://i60.tinypic.com/3588kfr.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

This is ok with the radial gauges as I can just use the refresh option in the panel.

This option is not available in the single value panel. Can I make this option available in the single value panel? Otherwise I have to refresh the whole panel.

As an aside there are numerous panels in my dashboard and ideally I would like them all to load completely each time.
Is there any general advice on this? I could reduce the number of panels in the dashboard, but I am looking at other ideas at this stage.

1 Solution

somesoni2
Revered Legend

The attribute/option that provides the refresh button (on mouse hover) is called "refresh.link.visible" which is true for other visualization but false for single value visualization. Please set it to true explicitly like sample below and you're good to go. See more details here. http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#single

<dashboard>
  <label>SingleValueRefresh</label>
  <row>
    <panel>
      <single>
        <title>Current Time</title>
        <search>
          <query>| gentimes start=-1 | eval _time=now() | table _time</query>
          <earliest>1417410000</earliest>
          <latest>1420088400</latest>
        </search>
        <option name="drilldown">none</option>
        <option name="refresh.link.visible">true</option>
      </single>
    </panel>
  </row>
</dashboard>

View solution in original post

somesoni2
Revered Legend

The attribute/option that provides the refresh button (on mouse hover) is called "refresh.link.visible" which is true for other visualization but false for single value visualization. Please set it to true explicitly like sample below and you're good to go. See more details here. http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#single

<dashboard>
  <label>SingleValueRefresh</label>
  <row>
    <panel>
      <single>
        <title>Current Time</title>
        <search>
          <query>| gentimes start=-1 | eval _time=now() | table _time</query>
          <earliest>1417410000</earliest>
          <latest>1420088400</latest>
        </search>
        <option name="drilldown">none</option>
        <option name="refresh.link.visible">true</option>
      </single>
    </panel>
  </row>
</dashboard>

HattrickNZ
Motivator

tks that done the trick.

0 Karma

woodcock
Esteemed Legend

There are 4 invisible-but-hover-enabled icons in the lower left corner of every panel of a Splunk XML dashboard. The 4th/last/rightmost icon is an arrow bent into the shape of a circle. If you click on this, it will reload only that 1 panel.

0 Karma

HattrickNZ
Motivator

tks, but that's what I am saying that does not appear in the single value panel. Or maybe I have to enable it by using or something?

0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...