<?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 use a drop-down form for a search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-drop-down-form-for-a-search/m-p/231925#M68805</link>
    <description>&lt;P&gt;The answer is to use a token in your panel search that points to your dropdown.  This is very easy to do.  Please see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Viz/tokens"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Viz/tokens&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2016 12:13:52 GMT</pubDate>
    <dc:creator>kbrown_splunk</dc:creator>
    <dc:date>2016-06-28T12:13:52Z</dc:date>
    <item>
      <title>How to use a drop-down form for a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-drop-down-form-for-a-search/m-p/231924#M68804</link>
      <description>&lt;P&gt;I have below search which has a CSV input (example host and category) &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; host        server1     server2    server3    server4    server5
 Catagory         AP          NA         NA         EU         AP
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now I have below search which gives output &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup Messaging_Servers.csv | join type=outer max=0 host [ search sourcetype=domino-stats "Platform.Memory.RAM.TotalMBytes" ]
| join type=outer max=0 host [ search sourcetype=domino-stats "Http.Workers" ]
|table host Platform_Memory_RAM_TotalMBytes Http_Workers |dedup host  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now I would like to have a drop-down form, and if I select &lt;CODE&gt;AP&lt;/CODE&gt; then only &lt;CODE&gt;server 1&lt;/CODE&gt; and &lt;CODE&gt;server 5&lt;/CODE&gt; output should be shown in the dashboard with &lt;CODE&gt;Platform_Memory_RAM_TotalMBytes&lt;/CODE&gt; and &lt;CODE&gt;Http_Workers&lt;/CODE&gt; values.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 11:55:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-drop-down-form-for-a-search/m-p/231924#M68804</guid>
      <dc:creator>chandra61446</dc:creator>
      <dc:date>2016-06-28T11:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a drop-down form for a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-drop-down-form-for-a-search/m-p/231925#M68805</link>
      <description>&lt;P&gt;The answer is to use a token in your panel search that points to your dropdown.  This is very easy to do.  Please see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Viz/tokens"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Viz/tokens&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 12:13:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-drop-down-form-for-a-search/m-p/231925#M68805</guid>
      <dc:creator>kbrown_splunk</dc:creator>
      <dc:date>2016-06-28T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a drop-down form for a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-drop-down-form-for-a-search/m-p/231926#M68806</link>
      <description>&lt;P&gt;In the Dashboard screen select Edit -&amp;gt; Edit Panels in the dropdown item select Edit Input and edit the token field in your search, replace the value you want for $ token $.&lt;/P&gt;

&lt;P&gt;Dropdown Title &amp;lt;/ label&amp;gt;&lt;BR /&gt;
       &lt;INPUT type="dropdown" token="token" /&gt;&lt;BR /&gt;
          &lt;DEFAULT&gt; Default Item &amp;lt;/ default&amp;gt;&lt;BR /&gt;
          &lt;CHOICE value="xxx"&gt; Item 1 &amp;lt;/ choice&amp;gt;&lt;BR /&gt;
          &lt;CHOICE value="yyy"&gt; Item 2 &amp;lt;/ choice&amp;gt;&lt;BR /&gt;
       &amp;lt;/ Input&amp;gt;&lt;BR /&gt;
&amp;lt;/ Label&amp;gt;&lt;/CHOICE&gt;&lt;/CHOICE&gt;&lt;/DEFAULT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 12:20:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-drop-down-form-for-a-search/m-p/231926#M68806</guid>
      <dc:creator>thiago2d</dc:creator>
      <dc:date>2016-06-28T12:20:34Z</dc:date>
    </item>
  </channel>
</rss>

