<?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: How to set the default value of a multiselect input box to the results of a search in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211048#M2799</link>
    <description>&lt;P&gt;I downvoted this post because using value=* does not quite address the scenario.&lt;/P&gt;

&lt;P&gt;imagine a systems with thousands of host values.   my dynamic search in  the input will find at most only 20 of these thousands of hosts.  but on any given day, it will find only a subset of those 20 host values...&lt;/P&gt;

&lt;P&gt;if today it finds only 4 host values, i'd like the default value for the input to be only those 4 hosts (not host=*).   tomorrow the default might be some set of 7 host values...&lt;/P&gt;

&lt;P&gt;i'd find this very useful if there is a way to do it in simple xml.  thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2017 19:51:28 GMT</pubDate>
    <dc:creator>chuckers</dc:creator>
    <dc:date>2017-11-28T19:51:28Z</dc:date>
    <item>
      <title>How to set the default value of a multiselect input box to the results of a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211045#M2796</link>
      <description>&lt;P&gt;I want all results from a search to be the default for a multiselect input box. I don't think it can be done with SimpleXML but I suspect it can happen with JavaScript using the val method. How would I run the search from the search manager, retrieve the results and fill in the Multiselect box?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 23:32:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211045#M2796</guid>
      <dc:creator>coleman07</dc:creator>
      <dc:date>2020-06-17T23:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the default value of a multiselect input box to the results of a search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211046#M2797</link>
      <description>&lt;P&gt;The multiselect input can be populated with results from a search by defining the search query in the dynamic results. To use &lt;CODE&gt;*&lt;/CODE&gt; as the default, you can add one static option - name=All value=* and set that as the default.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/Viz/PanelreferenceforSimplifiedXML#input_type_.22multiselect.22"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/Viz/PanelreferenceforSimplifiedXML#input_type_.22multiselect.22&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 22:31:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211046#M2797</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-04-20T22:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the default value of a multiselect input box to the results of a search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211047#M2798</link>
      <description>&lt;P&gt;I would prefer to not use All and, instead, have all the results appear in the multiselect when the dashboard is displayed. I can't seem to assign a search manager to fill the default values.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 09:31:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211047#M2798</guid>
      <dc:creator>coleman07</dc:creator>
      <dc:date>2016-04-21T09:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the default value of a multiselect input box to the results of a search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211048#M2799</link>
      <description>&lt;P&gt;I downvoted this post because using value=* does not quite address the scenario.&lt;/P&gt;

&lt;P&gt;imagine a systems with thousands of host values.   my dynamic search in  the input will find at most only 20 of these thousands of hosts.  but on any given day, it will find only a subset of those 20 host values...&lt;/P&gt;

&lt;P&gt;if today it finds only 4 host values, i'd like the default value for the input to be only those 4 hosts (not host=*).   tomorrow the default might be some set of 7 host values...&lt;/P&gt;

&lt;P&gt;i'd find this very useful if there is a way to do it in simple xml.  thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 19:51:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211048#M2799</guid>
      <dc:creator>chuckers</dc:creator>
      <dc:date>2017-11-28T19:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the default value of a multiselect input box to the results of a search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211049#M2800</link>
      <description>&lt;P&gt;@chuckers were you able to find how to dynamically populate all in the default value for input as you wanted? i am also looking to do the same.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 02:04:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211049#M2800</guid>
      <dc:creator>akshatprakash</dc:creator>
      <dc:date>2019-03-05T02:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the default value of a multiselect input box to the results of a search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211050#M2801</link>
      <description>&lt;P&gt;Use following in multiselect:-&lt;/P&gt;

&lt;P&gt;All&lt;BR /&gt;
*&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 01:25:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/211050#M2801</guid>
      <dc:creator>vaibhavsuneja</dc:creator>
      <dc:date>2019-06-24T01:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the default value of a multiselect input box to the results of a search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/540848#M2802</link>
      <description>i am also looking to do the same......did you find the answer?</description>
      <pubDate>Mon, 22 Feb 2021 14:53:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-default-value-of-a-multiselect-input-box-to-the/m-p/540848#M2802</guid>
      <dc:creator>Purk9</dc:creator>
      <dc:date>2021-02-22T14:53:37Z</dc:date>
    </item>
  </channel>
</rss>

