<?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: Create Submit Button in XML to run the search? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325204#M21004</link>
    <description>&lt;P&gt;One more thing I have 6 input but I need only one submit button do I need to add&lt;BR /&gt;
&lt;CODE&gt;&amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;
before each input or only once before the start of the input in the panel??&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2017 09:51:59 GMT</pubDate>
    <dc:creator>chitreshakumar</dc:creator>
    <dc:date>2017-12-08T09:51:59Z</dc:date>
    <item>
      <title>Create Submit Button in XML to run the search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325198#M20998</link>
      <description>&lt;P&gt;I have 6 multi-select input in my dashboard .Whenever I select one of the values the search starts running but I want a"Submit" button to control the search so that my tables and graphs load after I click on the submit button ??&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 09:25:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325198#M20998</guid>
      <dc:creator>chitreshakumar</dc:creator>
      <dc:date>2017-12-08T09:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create Submit Button in XML to run the search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325199#M20999</link>
      <description>&lt;P&gt;Set autoRun parameter to false  as follows :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fieldset autoRun="false" submitButton="true"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Dec 2017 09:37:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325199#M20999</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2017-12-08T09:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create Submit Button in XML to run the search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325200#M21000</link>
      <description>&lt;P&gt;You need to enable submit button and disable &lt;CODE&gt;searchWhenChanged&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;
    &amp;lt;input type="multiselect" token="field1" searchWhenChanged="false"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Dec 2017 09:40:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325200#M21000</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-12-08T09:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create Submit Button in XML to run the search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325201#M21001</link>
      <description>&lt;P&gt;Can you elaborate as I am new to this??&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 09:42:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325201#M21001</guid>
      <dc:creator>chitreshakumar</dc:creator>
      <dc:date>2017-12-08T09:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create Submit Button in XML to run the search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325202#M21002</link>
      <description>&lt;P&gt;Can you elaborate since I think this is what I want?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 09:43:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325202#M21002</guid>
      <dc:creator>chitreshakumar</dc:creator>
      <dc:date>2017-12-08T09:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create Submit Button in XML to run the search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325203#M21003</link>
      <description>&lt;P&gt;First line enable Submit button based on code &lt;CODE&gt;submitButton="true"&lt;/CODE&gt; and secondline is MultiSelect input with token as field1 but &lt;CODE&gt;searchWhenChanged="false"&lt;/CODE&gt; this code will disable execution of search query when you select, deselect Multiselect input means you can do N number of selection and query will not execute while doing selection, query will execute only when you will click Submit button.&lt;/P&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 09:48:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325203#M21003</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-12-08T09:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create Submit Button in XML to run the search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325204#M21004</link>
      <description>&lt;P&gt;One more thing I have 6 input but I need only one submit button do I need to add&lt;BR /&gt;
&lt;CODE&gt;&amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;
before each input or only once before the start of the input in the panel??&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 09:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325204#M21004</guid>
      <dc:creator>chitreshakumar</dc:creator>
      <dc:date>2017-12-08T09:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create Submit Button in XML to run the search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325205#M21005</link>
      <description>&lt;P&gt;&lt;CODE&gt;&amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;&lt;/CODE&gt; will be used only once in Dashboard.&lt;/P&gt;

&lt;P&gt;Please see sample dashboard XML with 2 multiselect input&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;
    &amp;lt;input type="multiselect" token="field1" searchWhenChanged="false"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;choice value="sourcetype"&amp;gt;Sourcetype&amp;lt;/choice&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query/&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;delimiter&amp;gt; &amp;lt;/delimiter&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="multiselect" token="field2" searchWhenChanged="false"&amp;gt;
      &amp;lt;label&amp;gt;field2&amp;lt;/label&amp;gt;
      &amp;lt;choice value="host"&amp;gt;Host&amp;lt;/choice&amp;gt;
      &amp;lt;delimiter&amp;gt; &amp;lt;/delimiter&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | stats count by $field1$, $field2$&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&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>Fri, 08 Dec 2017 10:01:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325205#M21005</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-12-08T10:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create Submit Button in XML to run the search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325206#M21006</link>
      <description>&lt;P&gt;thanks a lot &lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 01:45:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-Submit-Button-in-XML-to-run-the-search/m-p/325206#M21006</guid>
      <dc:creator>Padma12345</dc:creator>
      <dc:date>2019-06-24T01:45:48Z</dc:date>
    </item>
  </channel>
</rss>

