<?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 Using input from a multi-select input field for possible entries in a dropdown input field? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300956#M19140</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;Maybe it's weird what I'm trying to do, but I wanted to know if I could use the input from a multi-select input field as input options for a single input dropdown field.&lt;/P&gt;

&lt;P&gt;Basically I want the selected entries from this multi-select input field:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3901i51B89CFBD496B7AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;to show up in the entry list of this dropdown input field:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3902i5B7F5DBC77EB8482/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;In the dropdown field I only want to be able to select one of the servers that already has been selected in the multi-select field.&lt;/P&gt;

&lt;P&gt;Code of the multi-select field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="multiselect" token="vm"&amp;gt;
      &amp;lt;label&amp;gt;Machine&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;name&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;name&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;| savedsearch PAT_machines_search
               | search company="$company$" operational_status=$opstatus$ os=$os$
        &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;valueSuffix&amp;gt;*&amp;lt;/valueSuffix&amp;gt;
      &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Code of the dropdown field so far:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row id="linux_input"&amp;gt;
    &amp;lt;panel depends="$linux_patches$"&amp;gt;
      &amp;lt;input type="dropdown" token="linux_server"&amp;gt;
        &amp;lt;label&amp;gt;Linux Server&amp;lt;/label&amp;gt;
        &amp;lt;fieldForLabel&amp;gt;linux_selected_server&amp;lt;/fieldForLabel&amp;gt;
        &amp;lt;fieldForValue&amp;gt;linux_selected_server&amp;lt;/fieldForValue&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;
            blabla placeholder
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/input&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anybody know if this is possible? Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2017 11:56:00 GMT</pubDate>
    <dc:creator>belle501</dc:creator>
    <dc:date>2017-11-22T11:56:00Z</dc:date>
    <item>
      <title>Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300956#M19140</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;Maybe it's weird what I'm trying to do, but I wanted to know if I could use the input from a multi-select input field as input options for a single input dropdown field.&lt;/P&gt;

&lt;P&gt;Basically I want the selected entries from this multi-select input field:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3901i51B89CFBD496B7AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;to show up in the entry list of this dropdown input field:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3902i5B7F5DBC77EB8482/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;In the dropdown field I only want to be able to select one of the servers that already has been selected in the multi-select field.&lt;/P&gt;

&lt;P&gt;Code of the multi-select field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="multiselect" token="vm"&amp;gt;
      &amp;lt;label&amp;gt;Machine&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;name&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;name&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;| savedsearch PAT_machines_search
               | search company="$company$" operational_status=$opstatus$ os=$os$
        &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;valueSuffix&amp;gt;*&amp;lt;/valueSuffix&amp;gt;
      &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Code of the dropdown field so far:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row id="linux_input"&amp;gt;
    &amp;lt;panel depends="$linux_patches$"&amp;gt;
      &amp;lt;input type="dropdown" token="linux_server"&amp;gt;
        &amp;lt;label&amp;gt;Linux Server&amp;lt;/label&amp;gt;
        &amp;lt;fieldForLabel&amp;gt;linux_selected_server&amp;lt;/fieldForLabel&amp;gt;
        &amp;lt;fieldForValue&amp;gt;linux_selected_server&amp;lt;/fieldForValue&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;
            blabla placeholder
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/input&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anybody know if this is possible? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 11:56:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300956#M19140</guid>
      <dc:creator>belle501</dc:creator>
      <dc:date>2017-11-22T11:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300957#M19141</link>
      <description>&lt;P&gt;HI&lt;/P&gt;

&lt;P&gt;Can you please check below xml?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;multi-select input field for  dropdown input field&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="multiselect" token="vm"&amp;gt;
      &amp;lt;label&amp;gt;Machine&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=_internal * | stats count by sourcetype &amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;-1h@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;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;$vm$&amp;lt;/title&amp;gt;
      &amp;lt;input type="dropdown" token="vm1"&amp;gt;
        &amp;lt;label&amp;gt;My Machine&amp;lt;/label&amp;gt;
        &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
        &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults | eval sourcetype="$vm$" | eval sourcetype=split(sourcetype,",") | mvexpand sourcetype | table sourcetype&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/input&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>Wed, 22 Nov 2017 12:18:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300957#M19141</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-11-22T12:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300958#M19142</link>
      <description>&lt;P&gt;Thanks, will try it out!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 12:45:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300958#M19142</guid>
      <dc:creator>belle501</dc:creator>
      <dc:date>2017-11-22T12:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300959#M19143</link>
      <description>&lt;P&gt;Alright, I have it implemented now, but I'm running into some issues. The dropdown correctly shows the servers but whenever I select one, the panels which depend on it won't load. They come up with errors like these:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;The limit has been reached for log messages in info.csv. 137 messages have not been written to info.csv. Please refer to search.log for these messages or limits.conf to configure this limit.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;HR /&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[suct2v701] command.mvexpand: output will be truncated at 108700 results due to excessive memory usage. Memory threshold of 500MB as configured in limits.conf / [mvexpand] / max_mem_usage_mb has been reached.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:55:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300959#M19143</guid>
      <dc:creator>belle501</dc:creator>
      <dc:date>2020-09-29T16:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300960#M19144</link>
      <description>&lt;P&gt;Can you please share value from panel title?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;title&amp;gt;$vm$&amp;lt;/title&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you please let me know how many results return from multiselect search?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:36:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300960#M19144</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-11-22T13:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300961#M19145</link>
      <description>&lt;P&gt;Hmm, I'm not sure I follow, what would you like to see? &lt;/P&gt;

&lt;P&gt;This is how it looks now:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.dropbox.com/s/l7s7umhi45jxtm6/Knipsel.JPG?dl=0"&gt;https://www.dropbox.com/s/l7s7umhi45jxtm6/Knipsel.JPG?dl=0&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.dropbox.com/s/tw7ley27764l9uw/Knipsel2.JPG?dl=0"&gt;https://www.dropbox.com/s/tw7ley27764l9uw/Knipsel2.JPG?dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 22:45:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300961#M19145</guid>
      <dc:creator>belle501</dc:creator>
      <dc:date>2017-11-22T22:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300962#M19146</link>
      <description>&lt;P&gt;@kamlesh_vaghela, you missed accounting for Multi-value Token Delimiter and Suffix  while extracting the selected values as single values for the dropdown.&lt;/P&gt;

&lt;P&gt;@belle501, please try out the code for dropdown as below. Also for the dropdown token $vm1$ make sure token value is prefixed/suffixed properly before either in the dropdown properties or else during the search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;fieldset&amp;gt;
    &amp;lt;input type="multiselect" token="vm"&amp;gt;
      &amp;lt;label&amp;gt;Machine&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;name&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;name&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
         &amp;lt;query&amp;gt;| savedsearch PAT_machines_search
                | search company="$company$" operational_status=$opstatus$ os=$os$
         &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;valueSuffix&amp;gt;*&amp;lt;/valueSuffix&amp;gt;
      &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="linux_server"&amp;gt;
      &amp;lt;label&amp;gt;Linux Server&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;linux_selected_server&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;linux_selected_server&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;| makeresults
| eval linux_selected_server=rtrim(replace("$vm$"," OR ",""),"*")
| eval linux_selected_server=split(linux_selected_server,"*")
| mvexpand linux_selected_server
| fields - _time&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If the above does not work please share the Search code in Simple XML where you are using the dropdown selected token value.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 23:17:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300962#M19146</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-22T23:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300963#M19147</link>
      <description>&lt;P&gt;HI&lt;BR /&gt;
Have you changed delimiter?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;delimiter&amp;gt; ,&amp;lt;/delimiter&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This screenshot shows &lt;CODE&gt;OR&lt;/CODE&gt; delimiter. &lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.dropbox.com/s/tw7ley27764l9uw/Knipsel2.JPG?dl=0"&gt;https://www.dropbox.com/s/tw7ley27764l9uw/Knipsel2.JPG?dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 06:42:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300963#M19147</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-11-23T06:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300964#M19148</link>
      <description>&lt;P&gt;Hi kamlesh, yes I had to change this part of your code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;form&amp;gt;
   &amp;lt;label&amp;gt;multi-select input field for  dropdown input field&amp;lt;/label&amp;gt;
   &amp;lt;fieldset submitButton="false"&amp;gt;
     &amp;lt;input type="multiselect" token="vm"&amp;gt;
       &amp;lt;label&amp;gt;Machine&amp;lt;/label&amp;gt;
       &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
       &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
       &amp;lt;search&amp;gt;
         &amp;lt;query&amp;gt;index=_internal * | stats count by sourcetype &amp;lt;/query&amp;gt;
         &amp;lt;earliest&amp;gt;-1h@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;/fieldset&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Because otherwise I couldn't select any machine in the multi-select field, and the dashboard would not load.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 10:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300964#M19148</guid>
      <dc:creator>belle501</dc:creator>
      <dc:date>2017-11-23T10:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300965#M19149</link>
      <description>&lt;P&gt;Hi niketnilay, thanks for your anwser. The dropdown field works correctly, but my panels keep giving errors saying that mvexpand is causing excessive memory usage.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 10:23:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300965#M19149</guid>
      <dc:creator>belle501</dc:creator>
      <dc:date>2017-11-23T10:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300966#M19150</link>
      <description>&lt;P&gt;ooh,&lt;/P&gt;

&lt;P&gt;Ok, then we'll continue with &lt;CODE&gt;OR&lt;/CODE&gt; the delimiter. I have revised my search due to &lt;CODE&gt;mvexpand&lt;/CODE&gt; is causing excessive memory usage.&lt;/P&gt;

&lt;P&gt;Can you please try this one?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;multi-select input field for possible entries in a dropdown input field&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="multiselect" token="vm"&amp;gt;
      &amp;lt;label&amp;gt;Machine&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=_internal * | stats count by sourcetype &amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;-1h@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; OR &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;title&amp;gt;$vm$&amp;lt;/title&amp;gt;
      &amp;lt;input type="dropdown" token="vm1"&amp;gt;
        &amp;lt;label&amp;gt;My Machine&amp;lt;/label&amp;gt;
        &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
        &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults | eval sourcetype="$vm$" | eval sourcetype=split(sourcetype," OR ") | stats count by sourcetype | table sourcetype&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/input&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 12:06:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300966#M19150</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-11-23T12:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300967#M19151</link>
      <description>&lt;P&gt;It works so far! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I edited the dropdown code a bit, this is what I ended up with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row id="linux_input"&amp;gt;
    &amp;lt;panel depends="$linux_patches$"&amp;gt;
      &amp;lt;input type="dropdown" token="vm1" searchWhenChanged="true"&amp;gt;
        &amp;lt;label&amp;gt;Linux Server&amp;lt;/label&amp;gt;
          &amp;lt;fieldForLabel&amp;gt;linux_selected_server&amp;lt;/fieldForLabel&amp;gt;
          &amp;lt;fieldForValue&amp;gt;linux_selected_server&amp;lt;/fieldForValue&amp;gt;
          &amp;lt;search&amp;gt;
            &amp;lt;query&amp;gt;| makeresults 
                   | eval linux_selected_server="$vm$" 
                   | eval linux_selected_server=replace("$vm$", "\*", "")
                   | eval linux_selected_server=split(linux_selected_server," OR ") 
                   | stats count by linux_selected_server 
                   | table linux_selected_server
            &amp;lt;/query&amp;gt;
          &amp;lt;/search&amp;gt;
        &amp;lt;/input&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Nov 2017 12:53:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300967#M19151</guid>
      <dc:creator>belle501</dc:creator>
      <dc:date>2017-11-23T12:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300968#M19152</link>
      <description>&lt;P&gt;Hi @belle501,&lt;/P&gt;

&lt;P&gt;Glad to help you.&lt;/P&gt;

&lt;P&gt;Can you please accept the answer to close the question and upvote my comments which helped you.&lt;/P&gt;

&lt;P&gt;Happy Splunking&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 13:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300968#M19152</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-11-23T13:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using input from a multi-select input field for possible entries in a dropdown input field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300969#M19153</link>
      <description>&lt;P&gt;Will do! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 13:43:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-input-from-a-multi-select-input-field-for-possible-entries/m-p/300969#M19153</guid>
      <dc:creator>belle501</dc:creator>
      <dc:date>2017-11-23T13:43:09Z</dc:date>
    </item>
  </channel>
</rss>

