<?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: When I change the dropdown value and press submit button it does not run the new search in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340797#M22155</link>
    <description>&lt;P&gt;Hi vravisplunker,&lt;BR /&gt;
The only difference I have is that I haven't &lt;CODE&gt;autoRun="true"&lt;/CODE&gt;.&lt;BR /&gt;
In addition I haven't &lt;CODE&gt;searchWhenChanged="false"&lt;/CODE&gt; but it's not relevant because this is the default value.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2017 07:51:17 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2017-09-18T07:51:17Z</dc:date>
    <item>
      <title>When I change the dropdown value and press submit button it does not run the new search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340792#M22150</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;BR /&gt;
I'm new to Splunk, need help in understanding submit button behaviour.&lt;BR /&gt;
Requirement :&lt;BR /&gt;
Choose respective dropdown values(input) and click the submit button to execute the search(works only for the first time)&lt;/P&gt;

&lt;P&gt;Issue: after the first search, I change the drop-down values to something else and when I click the submit button, the search does not re-run for newly changed dropdown values.&lt;BR /&gt;
I have disabled "&lt;STRONG&gt;searchonchange&lt;/STRONG&gt;" checkbox for the submit button to work.&lt;BR /&gt;
please help!!&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;BR /&gt;
Buddingsplunker&lt;/P&gt;</description>
      <pubDate>Sun, 17 Sep 2017 18:13:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340792#M22150</guid>
      <dc:creator>vravisplunker</dc:creator>
      <dc:date>2017-09-17T18:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: When I change the dropdown value and press submit button it does not run the new search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340793#M22151</link>
      <description>&lt;P&gt;Hi vravisplunker,&lt;BR /&gt;
let me understand:&lt;BR /&gt;
you have some filters and the active submit Button (option submitButton="true");&lt;BR /&gt;
you click on it and your search is executed only the first time, then if you click again search isn't executed;&lt;BR /&gt;
Is it correct?&lt;BR /&gt;
if you modify one parameter and click on Submit Button, is search executed?&lt;/P&gt;

&lt;P&gt;The normal behaviour is that search is newly executed only when al least one parameter is changed, to re execute all the searches in a dashboard you have to reload dashboard or click on the Refresh button of each panel.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 06:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340793#M22151</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-18T06:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: When I change the dropdown value and press submit button it does not run the new search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340794#M22152</link>
      <description>&lt;P&gt;Hi Cusello,&lt;BR /&gt;
Thanks for your inputs, to answer your question&lt;BR /&gt;
&lt;STRONG&gt;"if you modify one parameter and click on Submit Button, is search executed?"&lt;/STRONG&gt; : No, it does not. is there something I must implement for &lt;STRONG&gt;"reload dashboard or click on the Refresh button of each panel."&lt;/STRONG&gt; to re-run the search.&lt;/P&gt;

&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 07:10:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340794#M22152</guid>
      <dc:creator>vravisplunker</dc:creator>
      <dc:date>2017-09-18T07:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: When I change the dropdown value and press submit button it does not run the new search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340795#M22153</link>
      <description>&lt;P&gt;Hi vravisplunker,&lt;BR /&gt;
you could autorefresh your dashboard every minute or a different time period, but it's a different thing.&lt;BR /&gt;
Anyway to reload dashboard or to re run each search are almost the same thing.&lt;BR /&gt;
Otherwise you could use real time searches that are always updated.&lt;BR /&gt;
Be careful not to exaggerate with real time searches because they are heavy for the system!&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 07:22:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340795#M22153</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-18T07:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: When I change the dropdown value and press submit button it does not run the new search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340796#M22154</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;BR /&gt;
Thanks for your inputs, could you please assist me in understanding why the submit button does not re-run the search upon modification of one or more parameters.&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
vravisplunker&lt;BR /&gt;
heres my partial code below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;  
 &amp;lt;label&amp;gt;Test_me&amp;lt;/label&amp;gt;  
  &amp;lt;description&amp;gt;Splunk&amp;lt;/description&amp;gt;  
  &amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;
           &amp;lt;input type="dropdown" token="trackingparam1" searchWhenChanged="false"&amp;gt;
           &amp;lt;label&amp;gt;Choose Tracking Parameter 1&amp;lt;/label&amp;gt;
           &amp;lt;search&amp;gt;
             &amp;lt;query&amp;gt;some query to pupulate the drop down&amp;lt;/query&amp;gt;
           &amp;lt;/search&amp;gt;
           &amp;lt;fieldForLabel&amp;gt;column&amp;lt;/fieldForLabel&amp;gt;
           &amp;lt;fieldForValue&amp;gt;column&amp;lt;/fieldForValue&amp;gt;
           &amp;lt;choice value="All"&amp;gt;All&amp;lt;/choice&amp;gt;
           &amp;lt;change&amp;gt;
             &amp;lt;unset token="form.trackingval1"&amp;gt;&amp;lt;/unset&amp;gt;
             &amp;lt;condition value="All"&amp;gt;
               &amp;lt;set token="queryString"&amp;gt;&amp;lt;/set&amp;gt;
             &amp;lt;/condition&amp;gt;
             &amp;lt;condition&amp;gt;
               &amp;lt;set token="queryString"&amp;gt;$trackingparam1$="All"&amp;lt;/set&amp;gt;
             &amp;lt;/condition&amp;gt;
           &amp;lt;/change&amp;gt;
           &amp;lt;default&amp;gt;All&amp;lt;/default&amp;gt;
           &amp;lt;initialValue&amp;gt;All&amp;lt;/initialValue&amp;gt;
         &amp;lt;/input&amp;gt;
         &amp;lt;input type="dropdown" token="trackingval1" searchWhenChanged="false"&amp;gt;
           &amp;lt;label&amp;gt;Enter Parameter Value 1&amp;lt;/label&amp;gt;
           &amp;lt;fieldForLabel&amp;gt;Choose Tracking Parameter 1&amp;lt;/fieldForLabel&amp;gt;
           &amp;lt;fieldForValue&amp;gt;$trackingparam1$&amp;lt;/fieldForValue&amp;gt;
           &amp;lt;change&amp;gt;
             &amp;lt;condition&amp;gt;
             **&amp;lt;set token="queryString"&amp;gt;$trackingparam1$="$trackingval1$"&amp;lt;/set&amp;gt;**(need to execute this upon dropdown selection rather than change)
           &amp;lt;/condition&amp;gt;
           &amp;lt;/change&amp;gt;
           &amp;lt;search&amp;gt;
             &amp;lt;query&amp;gt;index=some query to pupulate the dropdown&amp;lt;/query&amp;gt;
           &amp;lt;/search&amp;gt;
           &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
         &amp;lt;/input&amp;gt;   &amp;lt;/fieldset&amp;gt;  &amp;lt;row&amp;gt;
         &amp;lt;panel&amp;gt;
           &amp;lt;title&amp;gt;Transactions&amp;lt;/title&amp;gt;
           &amp;lt;table&amp;gt;
             &amp;lt;search&amp;gt;
               &amp;lt;query&amp;gt;index="test"  Source="$field$" $queryString$|table TransactionId Name Source Target Status Details
     _time&amp;lt;/query&amp;gt;
               &amp;lt;earliest&amp;gt;$field6.earliest$&amp;lt;/earliest&amp;gt;
               &amp;lt;latest&amp;gt;$field6.latest$&amp;lt;/latest&amp;gt;
             &amp;lt;/search&amp;gt;
             &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
             &amp;lt;!-- disable the search option for results --&amp;gt;
             &amp;lt;option name="link.openSearch.visible"&amp;gt;0&amp;lt;/option&amp;gt;
             &amp;lt;option name="rowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
             &amp;lt;format type="color" field="Status"&amp;gt;
               &amp;lt;colorPalette type="map"&amp;gt;{"Success":#65A637,"Error":#D93F3C}&amp;lt;/colorPalette&amp;gt;
             &amp;lt;/format&amp;gt;
             &amp;lt;fields&amp;gt;["Name","Source","Target","Status","Details","_time"]&amp;lt;/fields&amp;gt;
             &amp;lt;!-- src_tranid is the field to be drilled down on --&amp;gt;
             &amp;lt;drilldown&amp;gt;
               &amp;lt;set token="src_tranid"&amp;gt;$row.TransactionId$&amp;lt;/set&amp;gt;
               &amp;lt;set token="src_date"&amp;gt;$row.CreatedAt.$date$&amp;lt;/set&amp;gt;
             &amp;lt;/drilldown&amp;gt;
           &amp;lt;/table&amp;gt;
         &amp;lt;/panel&amp;gt;
 &amp;lt;/row&amp;gt; 
 &amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Sep 2017 07:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340796#M22154</guid>
      <dc:creator>vravisplunker</dc:creator>
      <dc:date>2017-09-18T07:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: When I change the dropdown value and press submit button it does not run the new search</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340797#M22155</link>
      <description>&lt;P&gt;Hi vravisplunker,&lt;BR /&gt;
The only difference I have is that I haven't &lt;CODE&gt;autoRun="true"&lt;/CODE&gt;.&lt;BR /&gt;
In addition I haven't &lt;CODE&gt;searchWhenChanged="false"&lt;/CODE&gt; but it's not relevant because this is the default value.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 07:51:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/When-I-change-the-dropdown-value-and-press-submit-button-it-does/m-p/340797#M22155</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-18T07:51:17Z</dc:date>
    </item>
  </channel>
</rss>

