<?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 Re: Why does my dashboard panel not automatically refresh upon selecting a value from a drop-down menu? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267874#M16917</link>
    <description>&lt;P&gt;You meant "the last one"... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2015 08:54:51 GMT</pubDate>
    <dc:creator>s2_splunk</dc:creator>
    <dc:date>2015-12-09T08:54:51Z</dc:date>
    <item>
      <title>Why does my dashboard panel not automatically refresh upon selecting a value from a drop-down menu?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267871#M16914</link>
      <description>&lt;P&gt;Hi, I wonder whether someone may be able to help me please.&lt;/P&gt;

&lt;P&gt;I'm trying to implement functionality on one of my dashboard panels which allows the user to select the 'refresh'. I ran a search and found a post &lt;A href="https://answers.splunk.com/answers/114331/how-to-refresh-the-panel-not-entire-dashboard.html"&gt;here&lt;/A&gt; and so implemented the code as below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;panel&amp;gt;
          &amp;lt;input type="dropdown" token="refresh_interval" searchWhenChanged="true"&amp;gt;
               &amp;lt;label&amp;gt;Panel Refresh Override&amp;lt;/label&amp;gt;
               &amp;lt;choice value="60"&amp;gt;1 Minute&amp;lt;/choice&amp;gt;
               &amp;lt;choice value="180"&amp;gt;3 Minutes&amp;lt;/choice&amp;gt;
               &amp;lt;choice value="300"&amp;gt;5 Minutes&amp;lt;/choice&amp;gt;
               &amp;lt;default&amp;gt;300&amp;lt;/default&amp;gt;
             &amp;lt;/input&amp;gt;
          &amp;lt;table&amp;gt;
            &amp;lt;title&amp;gt;Partially Completed Submissions With Expiry Date of......&amp;lt;/title&amp;gt;
            &amp;lt;search&amp;gt;
              &amp;lt;query&amp;gt;index=main auditSource=for-frontend auditType=FormSaved | rename generatedAt As "submissiondate" | eval submissiondate=strptime(submissiondate, "%Y-%m-%dT%H:%M:%S")|convert timeformat="%d/%b/%Y" ctime(submissiondate) | eval testtime=relative_time(now(), "-1d@d" )  | eval c_time=strftime(testtime,"%d/%b/%Y") | where c_time=submissiondate | head 1 | search NOT[search index=main auditSource=for-frontend auditType=FormSubmission | table detail.referenceNumber] | rename detail.referenceNumber As "refno" | rename detail.name As "fullname" | rename detail.90DayExpirationDate As "expirydate" | eval expirydate=strptime(expirydate, "%Y-%m-%dT%H:%M:%S")|convert timeformat="%d/%b/%Y" ctime(expirydate) | eval Full_Details= "Ref No: ".refno.", Fullname: ".fullname.", Date of submission: ".submissiondate.", Expiry Date: ".expirydate | makemv delim=", " Full_Details | table Full_Details&amp;lt;/query&amp;gt;
              &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
              &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
            &amp;lt;/search&amp;gt;
            &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
            &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
            &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
            &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
            &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
            &amp;lt;option name="refresh.auto.interval"&amp;gt;$refresh_interval$&amp;lt;/option&amp;gt;
          &amp;lt;/table&amp;gt;
        &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem is, no matter the selection made on the drop-down menu, the panel does not refresh.&lt;/P&gt;

&lt;P&gt;I just wonder whether someone could look at this please and let me know where I've gone wrong.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 07:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267871#M16914</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-12-09T07:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my dashboard panel not automatically refresh upon selecting a value from a drop-down menu?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267872#M16915</link>
      <description>&lt;P&gt;I don't think you are doing anything syntactically wrong, except that tokens don't appear to be supported in options XML elements, as it appears. &lt;BR /&gt;
While our &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1511/Viz/tokens"&gt;documentation&lt;/A&gt; doesn't explicitly state that, it also doesn't have any examples for that usage.&lt;BR /&gt;
You will have noticed that your panel also didn't refresh when you select a value. Try adding  &lt;STRONG&gt;| eval foo=$refresh_interval$&lt;/STRONG&gt;  to your search string for that panel and notice how the panel reloads every time you pick another value. But your refresh interval will still use the default value.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 08:49:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267872#M16915</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-12-09T08:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my dashboard panel not automatically refresh upon selecting a value from a drop-down menu?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267873#M16916</link>
      <description>&lt;P&gt;If you need your users to be able to manually refresh panels, then just train them how to use the &lt;CODE&gt;built-in&lt;/CODE&gt; capability for this.  In the lower-left corner of each pane should be 4 icons:  &lt;CODE&gt;Magnifying Glass&lt;/CODE&gt;, &lt;CODE&gt;Down Arrow&lt;/CODE&gt;, &lt;CODE&gt;Italic "i"&lt;/CODE&gt;, and &lt;CODE&gt;Circular Arrow&lt;/CODE&gt;.  Whenever the last one is clicked, the panel is refreshed.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 08:52:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267873#M16916</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-12-09T08:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my dashboard panel not automatically refresh upon selecting a value from a drop-down menu?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267874#M16917</link>
      <description>&lt;P&gt;You meant "the last one"... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 08:54:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267874#M16917</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-12-09T08:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my dashboard panel not automatically refresh upon selecting a value from a drop-down menu?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267875#M16918</link>
      <description>&lt;P&gt;Hi @woodcock, many thanks for your help and for the advice.&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 08:54:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267875#M16918</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-12-09T08:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my dashboard panel not automatically refresh upon selecting a value from a drop-down menu?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267876#M16919</link>
      <description>&lt;P&gt;Hi @ssievert, many thanks for your help and guidance.&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 08:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267876#M16919</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-12-09T08:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my dashboard panel not automatically refresh upon selecting a value from a drop-down menu?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267877#M16920</link>
      <description>&lt;P&gt;Yes, and now fixed.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 09:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267877#M16920</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-12-09T09:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my dashboard panel not automatically refresh upon selecting a value from a drop-down menu?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267878#M16921</link>
      <description>&lt;P&gt;Is there any workaround to get the panels to refresh based off a token value?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 21:02:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-panel-not-automatically-refresh-upon/m-p/267878#M16921</guid>
      <dc:creator>mpc7zh</dc:creator>
      <dc:date>2016-09-14T21:02:00Z</dc:date>
    </item>
  </channel>
</rss>

