<?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 Is there a refresh option so it can pick up any changes on the horseshoe caption? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-refresh-option-so-it-can-pick-up-any-changes-on-the/m-p/360413#M23518</link>
    <description>&lt;P&gt;I have a query configured for the horseshoe caption to output a number.&lt;BR /&gt;
but when the number change the horseshoe caption value does not change or refresh, although the query does give the changed value upon running.&lt;/P&gt;

&lt;P&gt;Is there a refresh option so it can pick up any changes on the caption?&lt;/P&gt;

&lt;P&gt;For the caption to show the number I have created a radio input to output the value and doing a set token using &amp;lt;&lt;BR /&gt;
below is the code, what could be wrong or is there a way to force a refresh of the token value&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="radio" searchWhenChanged="true" depends="$justHideMe$" token="test_number"&amp;gt;
        &amp;lt;label&amp;gt;test_number&amp;lt;/label&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;test query|eval test_number=+"% of "+test_number&amp;lt;/query&amp;gt;
          &amp;lt;progress&amp;gt;
             &amp;lt;set token="toktest_number"&amp;gt;$result.test_number$&amp;lt;/set&amp;gt;
          &amp;lt;/progress&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;default&amp;gt;$toktest_number$&amp;lt;/default&amp;gt;
        &amp;lt;fieldForLabel&amp;gt;test_number&amp;lt;/fieldForLabel&amp;gt;
        &amp;lt;fieldForValue&amp;gt;test_number&amp;lt;/fieldForValue&amp;gt;
        &amp;lt;selectFirstChoice&amp;gt;true&amp;lt;/selectFirstChoice&amp;gt;
     &amp;lt;/input&amp;gt;

      &amp;lt;option name="horseshoe_meter_app.horseshoe_meter.caption"&amp;gt;$test_number$&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 24 Apr 2018 15:10:05 GMT</pubDate>
    <dc:creator>jiaqya</dc:creator>
    <dc:date>2018-04-24T15:10:05Z</dc:date>
    <item>
      <title>Is there a refresh option so it can pick up any changes on the horseshoe caption?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-refresh-option-so-it-can-pick-up-any-changes-on-the/m-p/360413#M23518</link>
      <description>&lt;P&gt;I have a query configured for the horseshoe caption to output a number.&lt;BR /&gt;
but when the number change the horseshoe caption value does not change or refresh, although the query does give the changed value upon running.&lt;/P&gt;

&lt;P&gt;Is there a refresh option so it can pick up any changes on the caption?&lt;/P&gt;

&lt;P&gt;For the caption to show the number I have created a radio input to output the value and doing a set token using &amp;lt;&lt;BR /&gt;
below is the code, what could be wrong or is there a way to force a refresh of the token value&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="radio" searchWhenChanged="true" depends="$justHideMe$" token="test_number"&amp;gt;
        &amp;lt;label&amp;gt;test_number&amp;lt;/label&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;test query|eval test_number=+"% of "+test_number&amp;lt;/query&amp;gt;
          &amp;lt;progress&amp;gt;
             &amp;lt;set token="toktest_number"&amp;gt;$result.test_number$&amp;lt;/set&amp;gt;
          &amp;lt;/progress&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;default&amp;gt;$toktest_number$&amp;lt;/default&amp;gt;
        &amp;lt;fieldForLabel&amp;gt;test_number&amp;lt;/fieldForLabel&amp;gt;
        &amp;lt;fieldForValue&amp;gt;test_number&amp;lt;/fieldForValue&amp;gt;
        &amp;lt;selectFirstChoice&amp;gt;true&amp;lt;/selectFirstChoice&amp;gt;
     &amp;lt;/input&amp;gt;

      &amp;lt;option name="horseshoe_meter_app.horseshoe_meter.caption"&amp;gt;$test_number$&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Apr 2018 15:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-refresh-option-so-it-can-pick-up-any-changes-on-the/m-p/360413#M23518</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2018-04-24T15:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a refresh option so it can pick up any changes on the horseshoe caption?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-refresh-option-so-it-can-pick-up-any-changes-on-the/m-p/360414#M23519</link>
      <description>&lt;P&gt;1) The token you are setting with the results from the radio-populating search is $toktest_number$.&lt;/P&gt;

&lt;P&gt;2) The token you are using to set the caption is $test_number$.&lt;/P&gt;

&lt;P&gt;3) You are apparently hiding the input that does this, so I'm not sure "when the number change" would ever happen.&lt;/P&gt;

&lt;P&gt;4) If someone is actually going to be selecting items from the dropdown, then you probably want to set the tag during the input's &lt;CODE&gt;&amp;lt;change&amp;gt;&lt;/CODE&gt; condition instead of the search's &lt;CODE&gt;&amp;lt;progress&amp;gt;&lt;/CODE&gt; condition.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 02:17:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-refresh-option-so-it-can-pick-up-any-changes-on-the/m-p/360414#M23519</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-04-25T02:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a refresh option so it can pick up any changes on the horseshoe caption?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-refresh-option-so-it-can-pick-up-any-changes-on-the/m-p/360415#M23520</link>
      <description>&lt;P&gt;I tried using your suggestion, but it didnt help.&lt;/P&gt;

&lt;P&gt;The issue here was not the horseshoe caption but the token that gets set , ie the $test_number$&lt;BR /&gt;
Found a fix this for.  I just had to enter a |table  entry to the input query.&lt;BR /&gt;
Without the table  entry, the output was not getting picked up by the token is what I am guessing.&lt;/P&gt;

&lt;P&gt;After putting in |table  it is consistently picking up the token value and setting it as well.&lt;/P&gt;

&lt;P&gt;My issue is fixed at this point. Hope this helps others..&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 10:05:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-there-a-refresh-option-so-it-can-pick-up-any-changes-on-the/m-p/360415#M23520</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2018-04-25T10:05:29Z</dc:date>
    </item>
  </channel>
</rss>

