<?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 filter in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-filter/m-p/522847#M35305</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226437"&gt;@pb2&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you could create a dropdown like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;input type="dropdown" token="my_token"&amp;gt;
      &amp;lt;label&amp;gt;Values&amp;lt;/label&amp;gt;
      &amp;lt;choice value="| head 5"&amp;gt;Latest 5 Numbers&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="| head 10"&amp;gt;Latest 10 Numbers&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="| head 15"&amp;gt;Latest 15 Numbers&amp;lt;/choice&amp;gt;
      &amp;lt;default&amp;gt;| head 5&amp;lt;/default&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;
        &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;/input&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Then run a search like this (obviously to adapt to your need):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your_search
| stats count BY host
| sort -count
$my_token$&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Sun, 04 Oct 2020 13:49:19 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-10-04T13:49:19Z</dc:date>
    <item>
      <title>Dropdown filter</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-filter/m-p/522844#M35303</link>
      <description>&lt;P&gt;Want to have a drop down filter which is filled dynamically .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filter should have the following options :&lt;/P&gt;&lt;P&gt;1. Latest 5 Numbers&lt;/P&gt;&lt;P&gt;2. Latest 10 Numbers&lt;/P&gt;&lt;P&gt;3 . Latest 15 Numbers&lt;/P&gt;&lt;P&gt;These numbers should be populated by some time field .&lt;/P&gt;&lt;P&gt;there is a time field existing and last 5 numbers should be queried out according to time and according the dropdown should be grouped as last 5 numbers , last 10 numbers and last 15 numbers ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 13:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-filter/m-p/522844#M35303</guid>
      <dc:creator>pb2</dc:creator>
      <dc:date>2020-10-04T13:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown filter</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-filter/m-p/522846#M35304</link>
      <description>&lt;P&gt;Please be more specific about your requirements and what you want to see on the dashboard.&lt;/P&gt;&lt;P&gt;In my mind, the last 5 numbers are&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":infinity:"&gt;♾&lt;/span&gt;, &lt;span class="lia-unicode-emoji" title=":infinity:"&gt;♾&lt;/span&gt;-1, &lt;span class="lia-unicode-emoji" title=":infinity:"&gt;♾&lt;/span&gt;-2, &lt;span class="lia-unicode-emoji" title=":infinity:"&gt;♾&lt;/span&gt;-3, and &lt;span class="lia-unicode-emoji" title=":infinity:"&gt;♾&lt;/span&gt;-4, but they're not very useful in Splunk so perhaps you're thinking of 5 other numbers.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 13:46:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-filter/m-p/522846#M35304</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-04T13:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown filter</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-filter/m-p/522847#M35305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226437"&gt;@pb2&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you could create a dropdown like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;input type="dropdown" token="my_token"&amp;gt;
      &amp;lt;label&amp;gt;Values&amp;lt;/label&amp;gt;
      &amp;lt;choice value="| head 5"&amp;gt;Latest 5 Numbers&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="| head 10"&amp;gt;Latest 10 Numbers&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="| head 15"&amp;gt;Latest 15 Numbers&amp;lt;/choice&amp;gt;
      &amp;lt;default&amp;gt;| head 5&amp;lt;/default&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;
        &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;/input&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Then run a search like this (obviously to adapt to your need):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your_search
| stats count BY host
| sort -count
$my_token$&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 13:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-filter/m-p/522847#M35305</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-10-04T13:49:19Z</dc:date>
    </item>
  </channel>
</rss>

