<?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: Loading notification on Dashboard in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Loading-notification-on-Dashboard/m-p/661061#M228236</link>
    <description>&lt;P&gt;I'll preface this with there are some best practices I'm skipping over for a production dashboard - formally creating a lookup &amp;amp; setting permissions, scheduling a saved search (aka report) to create this lookup, etc.&amp;nbsp; I'm also assuming you have admin access to your environment since this example uses data you would have in your index=_internal.&amp;nbsp; The important thing here is the concept of referencing a lookup and not having an in-line search.&lt;BR /&gt;&lt;BR /&gt;I have attached an XML so you can see the SimpleXML dashboard I created for this example.&amp;nbsp; The left input dropdown does an in-line search to populate the dropdown values (and this could be what you're seeing as slow).&amp;nbsp; This means it is searching over, and the right input dropdown still runs a search, but all that search does is load a lookup csv file for the data - it's really quick!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_JP_0-1697561845771.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27617i165778CA9D18AFB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_JP_0-1697561845771.png" alt="_JP_0-1697561845771.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_JP_0-1697561845771.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The search I run for the left input is the following, and it is configured in the XML to look over the past 120d:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal | dedup component | table component | sort component&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp; The search I run for the right input is the following, and the timeframe doesn't matter - all it does is load a csv, but the results in that csv lookup are the same format/data as the search above:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; | inputlookup internal_component_list.csv&lt;/LI-CODE&gt;&lt;P&gt;Note:&amp;nbsp; that's not the&amp;nbsp;&lt;EM&gt;real&lt;/EM&gt; search that generates the csv.&amp;nbsp; It is just loading it.&amp;nbsp; To generate the csv, I ran the following search.&amp;nbsp; It's real similar to the one for the left dropdown, but I added the outputlookup command to make that csv:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal earliest=-120d | dedup component | table component | sort component | outputlookup internal_component_list.csv&lt;/LI-CODE&gt;&lt;P&gt;You can take this outputlookup search and schedule to run once a week (or however often is appropriate for your data).&amp;nbsp; The key is this search can be scheduled to run behind the scenes when no one is waiting on the results.&lt;/P&gt;&lt;P&gt;I just scheduled it as a report:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_JP_1-1697562248518.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27618iA1F09269FA11DC2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_JP_1-1697562248518.png" alt="_JP_1-1697562248518.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_JP_1-1697562248518.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And its search configuration looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_JP_2-1697562302186.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27619iBD945463EED85DBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_JP_2-1697562302186.png" alt="_JP_2-1697562302186.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_JP_2-1697562302186.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for this example I decided to schedule it weekly (but notice that the search looks back 120 days with the earliest=-120d in the SPL).&amp;nbsp; I'm essentially building my dropdown data weekly from the past 120 days of events in _internal:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_JP_3-1697562372323.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27620iC65A1A7C45C85875/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_JP_3-1697562372323.png" alt="_JP_3-1697562372323.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_JP_3-1697562372323.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 17:06:53 GMT</pubDate>
    <dc:creator>_JP</dc:creator>
    <dc:date>2023-10-17T17:06:53Z</dc:date>
    <item>
      <title>Loading notification on Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Loading-notification-on-Dashboard/m-p/660393#M227974</link>
      <description>&lt;P&gt;Hi All&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my current dashboard i have several text input that colleagues can use to find varies information. Sometimes it takes a while for their information to appear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to add a loading notification / alert to advise colleagues that Splunk is retrieving the information but may take some time?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The delay unusually is only for their 1st search and thereafter the searches are pretty much instant.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paula&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 12:49:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Loading-notification-on-Dashboard/m-p/660393#M227974</guid>
      <dc:creator>PaulaCom</dc:creator>
      <dc:date>2023-10-11T12:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Loading notification on Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Loading-notification-on-Dashboard/m-p/660434#M227991</link>
      <description>&lt;P&gt;Are you talking about the various dropdowns/multiselect inputs for a Dashboard, and waiting for that data to populate so they have something to select?&amp;nbsp; Like this screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_JP_0-1697045480055.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27544iB7EADBF3418DA22D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_JP_0-1697045480055.png" alt="_JP_0-1697045480055.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_JP_0-1697045480055.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, one way to speed this up is run the search behind those dynamic values as a scheduled search, have that query put the results into a lookup.&amp;nbsp; And then, the search to populate your inputs are just loading that lookup with&amp;nbsp;&lt;EM&gt;| inputlookup&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;If this is what you're thinking, then I can provide some more resources to get headed in that direction.&amp;nbsp; Also, are you building dashboards in SimpleXML or Dashboard Studio?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 17:35:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Loading-notification-on-Dashboard/m-p/660434#M227991</guid>
      <dc:creator>_JP</dc:creator>
      <dc:date>2023-10-11T17:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loading notification on Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Loading-notification-on-Dashboard/m-p/660484#M228020</link>
      <description>&lt;P&gt;Morning&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response. The Dashboard is a Classic Dashboard, i definitely don't see as many options for inputs as you have above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll have a look at the lookup option to speed up the search. that's something i never thought of thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paula&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 07:07:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Loading-notification-on-Dashboard/m-p/660484#M228020</guid>
      <dc:creator>PaulaCom</dc:creator>
      <dc:date>2023-10-12T07:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Loading notification on Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Loading-notification-on-Dashboard/m-p/661061#M228236</link>
      <description>&lt;P&gt;I'll preface this with there are some best practices I'm skipping over for a production dashboard - formally creating a lookup &amp;amp; setting permissions, scheduling a saved search (aka report) to create this lookup, etc.&amp;nbsp; I'm also assuming you have admin access to your environment since this example uses data you would have in your index=_internal.&amp;nbsp; The important thing here is the concept of referencing a lookup and not having an in-line search.&lt;BR /&gt;&lt;BR /&gt;I have attached an XML so you can see the SimpleXML dashboard I created for this example.&amp;nbsp; The left input dropdown does an in-line search to populate the dropdown values (and this could be what you're seeing as slow).&amp;nbsp; This means it is searching over, and the right input dropdown still runs a search, but all that search does is load a lookup csv file for the data - it's really quick!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_JP_0-1697561845771.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27617i165778CA9D18AFB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_JP_0-1697561845771.png" alt="_JP_0-1697561845771.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_JP_0-1697561845771.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The search I run for the left input is the following, and it is configured in the XML to look over the past 120d:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal | dedup component | table component | sort component&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp; The search I run for the right input is the following, and the timeframe doesn't matter - all it does is load a csv, but the results in that csv lookup are the same format/data as the search above:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; | inputlookup internal_component_list.csv&lt;/LI-CODE&gt;&lt;P&gt;Note:&amp;nbsp; that's not the&amp;nbsp;&lt;EM&gt;real&lt;/EM&gt; search that generates the csv.&amp;nbsp; It is just loading it.&amp;nbsp; To generate the csv, I ran the following search.&amp;nbsp; It's real similar to the one for the left dropdown, but I added the outputlookup command to make that csv:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal earliest=-120d | dedup component | table component | sort component | outputlookup internal_component_list.csv&lt;/LI-CODE&gt;&lt;P&gt;You can take this outputlookup search and schedule to run once a week (or however often is appropriate for your data).&amp;nbsp; The key is this search can be scheduled to run behind the scenes when no one is waiting on the results.&lt;/P&gt;&lt;P&gt;I just scheduled it as a report:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_JP_1-1697562248518.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27618iA1F09269FA11DC2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_JP_1-1697562248518.png" alt="_JP_1-1697562248518.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_JP_1-1697562248518.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And its search configuration looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_JP_2-1697562302186.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27619iBD945463EED85DBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_JP_2-1697562302186.png" alt="_JP_2-1697562302186.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_JP_2-1697562302186.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for this example I decided to schedule it weekly (but notice that the search looks back 120 days with the earliest=-120d in the SPL).&amp;nbsp; I'm essentially building my dropdown data weekly from the past 120 days of events in _internal:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_JP_3-1697562372323.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27620iC65A1A7C45C85875/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_JP_3-1697562372323.png" alt="_JP_3-1697562372323.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_JP_3-1697562372323.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 17:06:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Loading-notification-on-Dashboard/m-p/661061#M228236</guid>
      <dc:creator>_JP</dc:creator>
      <dc:date>2023-10-17T17:06:53Z</dc:date>
    </item>
  </channel>
</rss>

