<?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 Dropdown with eventtypes in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174886#M16892</link>
    <description>&lt;P&gt;Is there a way to create dropdown box where you can select one of all the eventtypes?&lt;/P&gt;

&lt;P&gt;I currently have this but it takes long time and resources to collect and display all the eventtypes: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;input type="dropdown" token="field2"&amp;gt;
    &amp;lt;label&amp;gt;Eventtype&amp;lt;/label&amp;gt;
    &amp;lt;populatingSearch fieldForValue="eventtype"&amp;gt;index=* | stats count by host, eventtype&amp;lt;/populatingSearch&amp;gt;
  &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is it possible at all or no?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jan 2015 12:38:38 GMT</pubDate>
    <dc:creator>dackamen</dc:creator>
    <dc:date>2015-01-07T12:38:38Z</dc:date>
    <item>
      <title>Dropdown with eventtypes</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174886#M16892</link>
      <description>&lt;P&gt;Is there a way to create dropdown box where you can select one of all the eventtypes?&lt;/P&gt;

&lt;P&gt;I currently have this but it takes long time and resources to collect and display all the eventtypes: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;input type="dropdown" token="field2"&amp;gt;
    &amp;lt;label&amp;gt;Eventtype&amp;lt;/label&amp;gt;
    &amp;lt;populatingSearch fieldForValue="eventtype"&amp;gt;index=* | stats count by host, eventtype&amp;lt;/populatingSearch&amp;gt;
  &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is it possible at all or no?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 12:38:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174886#M16892</guid>
      <dc:creator>dackamen</dc:creator>
      <dc:date>2015-01-07T12:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown with eventtypes</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174887#M16893</link>
      <description>&lt;P&gt;Try narrowing it down to eventtypes field only&lt;/P&gt;

&lt;P&gt;Index= * |fields eventtype|top 25 eventtypes &lt;/P&gt;

&lt;P&gt;Keep changing the top x &lt;BR /&gt;
Thanks,&lt;BR /&gt;
Raghav&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:06:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174887#M16893</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-01-07T13:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown with eventtypes</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174888#M16894</link>
      <description>&lt;P&gt;Yes! It is&lt;/P&gt;

&lt;P&gt;Here is a Sample&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="dropdown" token="eventtype" searchWhenChanged="false"&amp;gt;
&amp;lt;label&amp;gt;Select an Event Type to proceed&amp;lt;/label&amp;gt;
&amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
&amp;lt;populatingSearch fieldForLabel="eventtype" fieldForValue="eventtype"&amp;gt;
&amp;lt;![CDATA[index="xxxxxxxindex" sourcetype=xxxxxx | stats count by eventtype | dedup eventtype | fields eventtype]]&amp;gt;
&amp;lt;/populatingSearch&amp;gt;
&amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174888#M16894</guid>
      <dc:creator>gabetheISguy</dc:creator>
      <dc:date>2015-01-07T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown with eventtypes</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174889#M16895</link>
      <description>&lt;P&gt;Try it without stats and host.&lt;/P&gt;

&lt;P&gt;Index =x sourcetype=x|top 25 eventtypes&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:20:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174889#M16895</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-01-07T13:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown with eventtypes</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174890#M16896</link>
      <description>&lt;P&gt;The fastest way to do it is using REST API calls. Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;input type="dropdown" token="field2"&amp;gt;
&amp;lt;label&amp;gt;Eventtype&amp;lt;/label&amp;gt;
&amp;lt;populatingSearch fieldForValue="eventtype"&amp;gt;| rest /services/saved/eventtypes | table title | rename title as eventtype&amp;lt;/populatingSearch&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:14:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dropdown-with-eventtypes/m-p/174890#M16896</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-01-07T16:14:11Z</dc:date>
    </item>
  </channel>
</rss>

