<?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 Dashboard refresh choking search dispatch queue in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110565#M6249</link>
    <description>&lt;P&gt;Hey all,&lt;/P&gt;

&lt;P&gt;I have a dashboard that is driven by a bunch of saved searches. The dashboard refreshes each panel every 30 seconds or so. As a result, I see a huge number of searches showing up in my dispatch queue and slowing down other front end searches.&lt;/P&gt;

&lt;P&gt;Can someone point me to documentation on how to make sure these saved searches aren't choking my dispatch queue? Basically, I want to drop the search from the dispatch within a minute of it running, since I know the dashboard will refresh by then.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;EDIT - I looked at the saved search again. It looks like whoever set this up used "All time" as the time range, but manually input &lt;CODE&gt;earliest=-5min latest=now&lt;/CODE&gt; in the search. Would this affect how long Splunk keeps the search in the dispatch queue?&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2015 18:12:34 GMT</pubDate>
    <dc:creator>bruceclarke</dc:creator>
    <dc:date>2015-07-08T18:12:34Z</dc:date>
    <item>
      <title>Dashboard refresh choking search dispatch queue</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110565#M6249</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;

&lt;P&gt;I have a dashboard that is driven by a bunch of saved searches. The dashboard refreshes each panel every 30 seconds or so. As a result, I see a huge number of searches showing up in my dispatch queue and slowing down other front end searches.&lt;/P&gt;

&lt;P&gt;Can someone point me to documentation on how to make sure these saved searches aren't choking my dispatch queue? Basically, I want to drop the search from the dispatch within a minute of it running, since I know the dashboard will refresh by then.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;EDIT - I looked at the saved search again. It looks like whoever set this up used "All time" as the time range, but manually input &lt;CODE&gt;earliest=-5min latest=now&lt;/CODE&gt; in the search. Would this affect how long Splunk keeps the search in the dispatch queue?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110565#M6249</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2015-07-08T18:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard refresh choking search dispatch queue</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110566#M6250</link>
      <description>&lt;P&gt;You can set the expiry of the saved search under Settings &amp;gt; Searches reports and alerts. Click the search you want to edit, scroll down to expiration and set a custom time.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 00:53:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110566#M6250</guid>
      <dc:creator>dolivasoh</dc:creator>
      <dc:date>2015-07-09T00:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard refresh choking search dispatch queue</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110567#M6251</link>
      <description>&lt;P&gt;Regarding the two different settings of the time range picker and the explicit &lt;CODE&gt;earliest&lt;/CODE&gt; and &lt;CODE&gt;latest&lt;/CODE&gt;, selecting "All Time" in the time range picker should not make a difference as long as there are not subsearches involved - these still use the time specified in the time range picker (&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/Specifytimemodifiersinyoursearch#Specify_absolute_time_ranges_in_your_search"&gt;see here&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 07:01:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110567#M6251</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2015-07-09T07:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard refresh choking search dispatch queue</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110568#M6252</link>
      <description>&lt;P&gt;Right, but it's not a scheduled search, just a saved one. However, the saved search is used in a dashboard which the engineering team has displayed on a monitor in their room at all times. The dashboard updates each panel every 30 seconds, which appears to be what is causing the dispatch queue to grow so large.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 13:22:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110568#M6252</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2015-07-09T13:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard refresh choking search dispatch queue</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110569#M6253</link>
      <description>&lt;P&gt;The same applies even for ad-hoc searches. You can configure a global default ttl for all searches if needed in your &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/admin/Limitsconf" target="_blank"&gt;limits.conf&lt;/A&gt; under [search]&lt;/P&gt;

&lt;P&gt;ttl = &lt;BR /&gt;
* How long search artifacts should be stored on disk once completed, in seconds. The ttl is computed&lt;BR /&gt;
* relative to the modtime of status.csv of the job if such file exists or the modtime of the search&lt;BR /&gt;
* job's artifact directory. If a job is being actively viewed in the Splunk UI then the modtime of &lt;BR /&gt;
* status.csv is constantly updated such that the reaper does not remove the job from underneath.&lt;BR /&gt;
* Defaults to 600, which is equivalent to 10 minutes.&lt;/P&gt;

&lt;P&gt;default_save_ttl = &lt;BR /&gt;
* How long the ttl for a search artifact should be extended in response to the save control action, in second.  0 = indefinitely.&lt;BR /&gt;
* Defaults to 604800 (1 week)&lt;/P&gt;

&lt;P&gt;remote_ttl = &lt;BR /&gt;
* How long artifacts from searches run in behalf of a search head should be stored on the indexer &lt;BR /&gt;
  after completion, in seconds.&lt;BR /&gt;
* Defaults to 600 (10 minutes)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:38:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110569#M6253</guid>
      <dc:creator>dolivasoh</dc:creator>
      <dc:date>2020-09-29T06:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard refresh choking search dispatch queue</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110570#M6254</link>
      <description>&lt;P&gt;Ok. Is there a way to edit this for just specific saved searches? Maybe in a *.meta file or config file? I don't see an option in Settings &amp;gt; Searches reports and alerts. I don't want to necessarily change the default for all searches.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 17:36:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-refresh-choking-search-dispatch-queue/m-p/110570#M6254</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2015-07-09T17:36:45Z</dc:date>
    </item>
  </channel>
</rss>

