<?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: Where can I find documentation for splunkd clean-dispatch command? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196570#M56737</link>
    <description>&lt;P&gt;The documentation apparently doesn't exist as of this date.  From what I have been able to figure out:&lt;/P&gt;

&lt;P&gt;Syntax:&lt;BR /&gt;
~/splunk/bin/splunk cmd splunkd clean-dispatch /tmp -24h@h&lt;/P&gt;

&lt;P&gt;/tmp = the directory where you want the dispatch artifacts to be copied to.&lt;BR /&gt;
-24h@h = the age when older dispatch artifacts are moved out of dispatch&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jul 2014 04:23:28 GMT</pubDate>
    <dc:creator>the_wolverine</dc:creator>
    <dc:date>2014-07-02T04:23:28Z</dc:date>
    <item>
      <title>Where can I find documentation for splunkd clean-dispatch command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196569#M56736</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;./splunk cmd splunkd clean-dispatch
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Where can I find the full documentation for this command which is used to "clean up" dispatch directory based on age of the directories?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 18:48:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196569#M56736</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2014-06-11T18:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find documentation for splunkd clean-dispatch command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196570#M56737</link>
      <description>&lt;P&gt;The documentation apparently doesn't exist as of this date.  From what I have been able to figure out:&lt;/P&gt;

&lt;P&gt;Syntax:&lt;BR /&gt;
~/splunk/bin/splunk cmd splunkd clean-dispatch /tmp -24h@h&lt;/P&gt;

&lt;P&gt;/tmp = the directory where you want the dispatch artifacts to be copied to.&lt;BR /&gt;
-24h@h = the age when older dispatch artifacts are moved out of dispatch&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2014 04:23:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196570#M56737</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2014-07-02T04:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find documentation for splunkd clean-dispatch command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196571#M56738</link>
      <description>&lt;P&gt;If you run $SPLUNK_HOME/bin/splunk cmd splunkd clean-dispatch help&lt;BR /&gt;
this will provided the usage information:&lt;/P&gt;

&lt;P&gt;Sample from Splunk 6.1.4&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd splunkd clean-dispatch help   
Use this command to move jobs whose last modification time is earlier than the specified time from the dispatch directory to the specified destination directory.   
usage: splunkd clean-dispatch '&amp;lt;destination directory where to move jobs&amp;gt;' '&amp;lt;latest job mod time&amp;gt;' 
example: splunkd clean-dispatch /tmp/old-dispatch-jobs/ -1month   
example: splunkd clean-dispatch /tmp/old-dispatch-jobs/ -10d@d   
example: splunkd clean-dispatch /tmp/old-dispatch-jobs/ 2011-06-01T12:34:56.000-07:00   
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Dec 2014 19:50:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196571#M56738</guid>
      <dc:creator>Ellen</dc:creator>
      <dc:date>2014-12-10T19:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find documentation for splunkd clean-dispatch command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196572#M56739</link>
      <description>&lt;P&gt;I am on Windows Server 2012.&lt;BR /&gt;
You may have to find your dispatch folder , in my case here  &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; splunk var run splunk dispatch .&lt;BR /&gt;
And manually delete directories or move them to your old-dispatch-jobs folder (you need to create that).&lt;BR /&gt;
Because the CLI did not delete quite a few of mine. &lt;BR /&gt;
After I manually deleted 'miraculously' SPLUNK started to render searches and dashboards correctly again.&lt;BR /&gt;
At this stage I would guess that my creation of  real time alert yesterday caused the issue but unclear why.&lt;/P&gt;

&lt;P&gt;Hope this helps someone.&lt;BR /&gt;
ps - Is there a document on good housekeeping for SPLUNK ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 23:41:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196572#M56739</guid>
      <dc:creator>brianpaulsuther</dc:creator>
      <dc:date>2015-02-10T23:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find documentation for splunkd clean-dispatch command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196573#M56740</link>
      <description>&lt;P&gt;This is most unsatisfactory in environments where access to the command line is restricted. It should be moved into Splunk Web. &lt;/P&gt;

&lt;P&gt;Also, routine cleanup doesn't seem to work all that well with search head pooling. I keep seeing errors like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; Failed to reap \\svvaufs.DOMAIN.COM\SplunkPnV\var\run\splunk\dispatch\SummaryDirector_1427239891.2615.SERVER0081 because of The directory is not empty.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And I frequently see errors from Apps like Lookup Editor when trying to update files. These are not persistent, and the permissions are all set correctly before anyone asks--we had a huge go-round sorting this out with the Windows admins.&lt;/P&gt;

&lt;P&gt;Nevertheless Search Head Pooling throws these errors intermittently and I often have to retry a few times to make changes stick.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2015 23:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196573#M56740</guid>
      <dc:creator>cmeo</dc:creator>
      <dc:date>2015-03-24T23:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find documentation for splunkd clean-dispatch command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196574#M56741</link>
      <description>&lt;P&gt;Sounds like terrible nfs latency.  Try pinging your NFS from all search heads and see if one has packet loss / high latency.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 08:38:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196574#M56741</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2015-12-31T08:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find documentation for splunkd clean-dispatch command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196575#M56742</link>
      <description>&lt;P&gt;There are a number of actions that require the command line for splunk - it will be very difficult if you are in an environment with no command line access at all.  You will not be able to manage splunk as a cluster for example. &lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 10:38:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/196575#M56742</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2015-12-31T10:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find documentation for splunkd clean-dispatch command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/629531#M218693</link>
      <description>&lt;P&gt;We need to clean the dispatch directory in a SH clustered environment.&lt;BR /&gt;&lt;BR /&gt;We didnt found any best practices for the clean-dispatch command and the Splunk documentation doesnt help either.&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.3/Search/Dispatchdirectoryandsearchartifacts" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.3/Search/Dispatchdirectoryandsearchartifacts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Should we run the clean-dispatch command node per node? Stop node, clean-dispatch, start node?&lt;BR /&gt;Or should we stop the whole SH cluster, then clean-dispatch each node, and then start the nodes?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 16:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-documentation-for-splunkd-clean-dispatch/m-p/629531#M218693</guid>
      <dc:creator>joshiro</dc:creator>
      <dc:date>2023-02-03T16:23:05Z</dc:date>
    </item>
  </channel>
</rss>

