<?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: Why is the dropdown selection with large dataset, slow? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461604#M30272</link>
    <description>&lt;P&gt;I don't have host lists that big, but like gcusello would avoid drop down lists for this. One solution that sounds like what you're suggesting would be to have a pre-filter text box that limits the list to "prod*" when you type prod into it. If your hosts belong to families (e.g., prod, nonprod, test, perf), then a drop down with hose values can help limit the host list. You'd want to put the user input before the first pipe and also limit the dynamic search time range to something reasonable. You can also explore using a summary index to collect unique host names every day (not the typical stats use case SI is famous for) and then query that. Of course, put pre-pipe fields in the lookup to tighten your search: index, sourcetype, earliest, latest, source, etc.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2019 13:07:49 GMT</pubDate>
    <dc:creator>jpolvino</dc:creator>
    <dc:date>2019-12-13T13:07:49Z</dc:date>
    <item>
      <title>Why is the dropdown selection with large dataset, slow?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461602#M30270</link>
      <description>&lt;P&gt;hi, &lt;BR /&gt;
we have few dashboards for end users to select "hostname" to search for. Unfortunately, the list of unique hostnames now renders above 25K+ and the Splunk default Dropdown element (with typing option) is slow&lt;/P&gt;

&lt;P&gt;Any ready-made code you guys have found to load a large dataset dynamically? Something like when I type  &lt;CODE&gt;prod...&lt;/CODE&gt; , it should dynamically load the servers with &lt;CODE&gt;prod*&lt;/CODE&gt; in its name and not the entire set of 25k+ hostnames beforehand.&lt;/P&gt;

&lt;P&gt;I could fiddle out with &lt;A href="https://select2.org/"&gt;select2&lt;/A&gt; library  which have similar functions or some &lt;A href="https://stackoverflow.com/a/24790466"&gt;external libraries UI&lt;/A&gt; work, but was checking if you guys have already done so within Splunk native UI elements.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 10:52:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461602#M30270</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-12-13T10:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the dropdown selection with large dataset, slow?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461603#M30271</link>
      <description>&lt;P&gt;Hi @koshyk,&lt;BR /&gt;
when I have a so large set of values I don't use dropdown but text box!&lt;/P&gt;

&lt;P&gt;If you need a dropdown and you haven't a so dynamic list, you could try to extract a lookup with a scheduled search and use it for your dropdown.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 11:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461603#M30271</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-12-13T11:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the dropdown selection with large dataset, slow?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461604#M30272</link>
      <description>&lt;P&gt;I don't have host lists that big, but like gcusello would avoid drop down lists for this. One solution that sounds like what you're suggesting would be to have a pre-filter text box that limits the list to "prod*" when you type prod into it. If your hosts belong to families (e.g., prod, nonprod, test, perf), then a drop down with hose values can help limit the host list. You'd want to put the user input before the first pipe and also limit the dynamic search time range to something reasonable. You can also explore using a summary index to collect unique host names every day (not the typical stats use case SI is famous for) and then query that. Of course, put pre-pipe fields in the lookup to tighten your search: index, sourcetype, earliest, latest, source, etc.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 13:07:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461604#M30272</guid>
      <dc:creator>jpolvino</dc:creator>
      <dc:date>2019-12-13T13:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the dropdown selection with large dataset, slow?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461605#M30273</link>
      <description>&lt;P&gt;maybe like this &lt;BR /&gt;
|tstats values(host) where index=* by host | fields host | dedup host&lt;/P&gt;

&lt;P&gt;restrict time range to the reasonable minimum.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 14:43:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461605#M30273</guid>
      <dc:creator>tomaszpiekos</dc:creator>
      <dc:date>2019-12-13T14:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the dropdown selection with large dataset, slow?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461606#M30274</link>
      <description>&lt;P&gt;I understand from technical point of view. But the requirement is from client which I have less flexiblity to change upon. the reason to have drop down is to fill up while users type as they don't to make mistakes with incorrect names&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 11:24:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461606#M30274</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2020-01-21T11:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the dropdown selection with large dataset, slow?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461607#M30275</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/519804/textbox-validation-issue.html"&gt;textbox-validation-issue&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;why don't you &lt;CODE&gt;lookup host&lt;/CODE&gt; and check host is?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 11:33:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-the-dropdown-selection-with-large-dataset-slow/m-p/461607#M30275</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-01-21T11:33:06Z</dc:date>
    </item>
  </channel>
</rss>

