<?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: Dropdown input  value to be passed  to multiselect inputs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Dropdown-input-value-to-be-passed-to-multiselect-inputs/m-p/442912#M77152</link>
    <description>&lt;P&gt;Looks like its SPLUNK  GUI BUG, When i tried saving this token using XML at backend, it worked!! It was having trouble through Splunk GUI.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2018 14:52:48 GMT</pubDate>
    <dc:creator>nawneel</dc:creator>
    <dc:date>2018-06-11T14:52:48Z</dc:date>
    <item>
      <title>Dropdown input  value to be passed  to multiselect inputs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Dropdown-input-value-to-be-passed-to-multiselect-inputs/m-p/442911#M77151</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;

&lt;P&gt;I would like to pass a drop down filter value to multiselect value. &lt;BR /&gt;
code for dropdown is as :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;input type="dropdown" token="entity"&amp;gt;
          &amp;lt;label&amp;gt;Entity&amp;lt;/label&amp;gt;
          &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
          &amp;lt;choice value="_time"&amp;gt;Time&amp;lt;/choice&amp;gt;
          &amp;lt;choice value="_status"&amp;gt;Status&amp;lt;/choice&amp;gt;
        &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like to pass this to "Token value Suffix"  of Multiselect filter. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="multiselect" token="servers" searchWhenChanged="true"&amp;gt;
        &amp;lt;label&amp;gt;Servers&amp;lt;/label&amp;gt;
        &amp;lt;prefix&amp;gt;(&amp;lt;/prefix&amp;gt;
        &amp;lt;valuePrefix&amp;gt;measurementIdentifier=ITSMServerLatency_&amp;lt;/valuePrefix&amp;gt;
        &amp;lt;valueSuffix&amp;gt;-ping**$entity$**&amp;lt;/valueSuffix&amp;gt;
        &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
        &amp;lt;fieldForLabel&amp;gt;Server&amp;lt;/fieldForLabel&amp;gt;
        &amp;lt;fieldForValue&amp;gt;Server&amp;lt;/fieldForValue&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="my_index" application=my_app Type=Network   (hostname=*) |rex field=Identifier  "ServerToITSMServerLatency_(?&amp;lt;Server&amp;gt;\w+)\-\w+\_(?&amp;lt;entity&amp;gt;\w+)"|dedup Identifier |stats count by Server&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
        &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
        &amp;lt;suffix&amp;gt;)&amp;lt;/suffix&amp;gt;
      &amp;lt;/input&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My concern is that it runs good for the first time, but next time , token variable looses its identity and is replaced be first time or default value of $entity$. &lt;/P&gt;

&lt;P&gt;Please let me know how can i maintain the token variable in multiselect? &lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 11:04:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Dropdown-input-value-to-be-passed-to-multiselect-inputs/m-p/442911#M77151</guid>
      <dc:creator>nawneel</dc:creator>
      <dc:date>2018-06-11T11:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown input  value to be passed  to multiselect inputs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Dropdown-input-value-to-be-passed-to-multiselect-inputs/m-p/442912#M77152</link>
      <description>&lt;P&gt;Looks like its SPLUNK  GUI BUG, When i tried saving this token using XML at backend, it worked!! It was having trouble through Splunk GUI.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 14:52:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Dropdown-input-value-to-be-passed-to-multiselect-inputs/m-p/442912#M77152</guid>
      <dc:creator>nawneel</dc:creator>
      <dc:date>2018-06-11T14:52:48Z</dc:date>
    </item>
  </channel>
</rss>

