<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Splunk 6 - Chooseable autorefresh in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-Chooseable-autorefresh/m-p/120583#M7014</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I also need an auto-refresh, but a chooseable.&lt;BR /&gt;
Means, I want a dropdown with "15s", "1m", "15m", "1h" and according to this the autorefresh is set.&lt;/P&gt;

&lt;P&gt;Yes, I read: &lt;A href="http://answers.splunk.com/answers/1847/how-can-i-auto-refresh-my-dashboard"&gt;how-can-i-auto-refresh-my-dashboard&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Splunk Version: 6, Using advanced XML.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Jens&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2013 17:08:44 GMT</pubDate>
    <dc:creator>JensT</dc:creator>
    <dc:date>2013-10-29T17:08:44Z</dc:date>
    <item>
      <title>Splunk 6 - Chooseable autorefresh</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-Chooseable-autorefresh/m-p/120583#M7014</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I also need an auto-refresh, but a chooseable.&lt;BR /&gt;
Means, I want a dropdown with "15s", "1m", "15m", "1h" and according to this the autorefresh is set.&lt;/P&gt;

&lt;P&gt;Yes, I read: &lt;A href="http://answers.splunk.com/answers/1847/how-can-i-auto-refresh-my-dashboard"&gt;how-can-i-auto-refresh-my-dashboard&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Splunk Version: 6, Using advanced XML.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Jens&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 17:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-Chooseable-autorefresh/m-p/120583#M7014</guid>
      <dc:creator>JensT</dc:creator>
      <dc:date>2013-10-29T17:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6 - Chooseable autorefresh</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-Chooseable-autorefresh/m-p/120584#M7015</link>
      <description>&lt;P&gt;Advanced XML is depreciated in Splunk 6.0... We have not converted our deployment yet because of this. That being said, using Sideview Utils, you should be able to do this. Ping him, user sideview, and he should be able to point you in the right direction.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 22:21:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-Chooseable-autorefresh/m-p/120584#M7015</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2013-10-29T22:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6 - Chooseable autorefresh</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-Chooseable-autorefresh/m-p/120585#M7016</link>
      <description>&lt;P&gt;&lt;A href="http://sideviewapps.com/apps/sideview-utils/"&gt;Sideview Utils 3.0 released today&lt;/A&gt; and it includes a new module called AutoRefresh. &lt;/P&gt;

&lt;P&gt;At it's simplest it's just two lines.  Here's an example of it refreshing a single chart: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="AutoRefresh" layoutPanel="panel_row2_col1" autoRun="True"&amp;gt;
  &amp;lt;param name="refreshEvery"&amp;gt;15&amp;lt;/param&amp;gt;

  &amp;lt;module name="Search"&amp;gt;
    &amp;lt;param name="search"&amp;gt;index=_internal component=metrics group=per_sourcetype_thruput | timechart span=1min sum(kb) by series&amp;lt;/param&amp;gt;
    &amp;lt;param name="earliest"&amp;gt;-15min&amp;lt;/param&amp;gt;
    &amp;lt;param name="latest"&amp;gt;now&amp;lt;/param&amp;gt;

    &amp;lt;module name="ValueSetter"&amp;gt;
      &amp;lt;param name="arg.charting.chart"&amp;gt;line&amp;lt;/param&amp;gt;

      &amp;lt;module name="JSChart" /&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/module&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It also accepts $foo$ substitution into its refreshEvery param, which means you can easily use other Sideview modules to give the user control over the refresh frequency.  Here is another example (both these examples are copied from the Sideview Utils docs btw)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="Pulldown" layoutPanel="panel_row3_col1" autoRun="True"&amp;gt;
  &amp;lt;param name="name"&amp;gt;refreshRate&amp;lt;/param&amp;gt;
  &amp;lt;param name="label"&amp;gt;Refresh every:&amp;lt;/param&amp;gt;
  &amp;lt;param name="staticOptions"&amp;gt;
    &amp;lt;list&amp;gt;
      &amp;lt;param name="label"&amp;gt;no refresh&amp;lt;/param&amp;gt;
      &amp;lt;param name="value"&amp;gt;0&amp;lt;/param&amp;gt;
    &amp;lt;/list&amp;gt;
    &amp;lt;list&amp;gt;
      &amp;lt;param name="label"&amp;gt;5 seconds&amp;lt;/param&amp;gt;
      &amp;lt;param name="value"&amp;gt;5&amp;lt;/param&amp;gt;
    &amp;lt;/list&amp;gt;
    &amp;lt;list&amp;gt;
      &amp;lt;param name="label"&amp;gt;10 seconds&amp;lt;/param&amp;gt;
      &amp;lt;param name="value"&amp;gt;10&amp;lt;/param&amp;gt;
    &amp;lt;/list&amp;gt;
    &amp;lt;list&amp;gt;
      &amp;lt;param name="label"&amp;gt;30 seconds&amp;lt;/param&amp;gt;
      &amp;lt;param name="value"&amp;gt;30&amp;lt;/param&amp;gt;
    &amp;lt;/list&amp;gt;
  &amp;lt;/param&amp;gt;
  &amp;lt;module name="AutoRefresh"&amp;gt;
    &amp;lt;param name="refreshEvery"&amp;gt;$refreshRate$&amp;lt;/param&amp;gt;

    &amp;lt;module name="Search"&amp;gt;
      &amp;lt;param name="search"&amp;gt;index=_internal component=metrics group=per_sourcetype_thruput | timechart span=1min sum(kb) by series&amp;lt;/param&amp;gt;
      &amp;lt;param name="earliest"&amp;gt;-15min&amp;lt;/param&amp;gt;
      &amp;lt;param name="latest"&amp;gt;now&amp;lt;/param&amp;gt;

      &amp;lt;module name="ValueSetter"&amp;gt;
        &amp;lt;param name="arg.charting.chart"&amp;gt;line&amp;lt;/param&amp;gt;

        &amp;lt;module name="JSChart" /&amp;gt;
      &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/module&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Dec 2013 21:02:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-Chooseable-autorefresh/m-p/120585#M7016</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-12-24T21:02:36Z</dc:date>
    </item>
  </channel>
</rss>

