<?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 Configurable Location for Summary Index Possible? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79139#M787</link>
    <description>&lt;P&gt;Can summary indexes, aka stash files, be stored somewhere other than $SPLUNK_HOME/var/spool/splunk/_.stash?  Specifically, can the $SPLUNK_HOME part be changed?&lt;/P&gt;

&lt;P&gt;Disk space is the issue.  I have a DEV box, version 4.1.1, where the file system that $SPLUNK_HOME resides is 3 GB.  My normal indexes are stored on a different file system.  I'd like to put the stash files there.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Filesystem             size   used  avail capacity  Mounted on  
/opt/apps/splunk       3.0G   2.6G   426M    87%    /opt/apps/splunk  
/opt/apps/splunk-index01    20G   1.4G    19G     8%    /opt/apps/splunk-index01  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've read &lt;A href="http://answers.splunk.com/questions/2973/change-output-location-of-splunk-diag" rel="nofollow"&gt;http://answers.splunk.com/questions/2973/change-output-location-of-splunk-diag&lt;/A&gt; and that answer was to submit a feature request.  Is that the same answer here or has Splunk changed since then?&lt;/P&gt;

&lt;P&gt;I see stash mentioned in /opt/apps/splunk/etc/system/default/searchbnf.conf, but it doesn't appear the whole path can be changed unless I pull some trick like:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;file=../../../../../../../opt/apps/splunk-index/stash  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Will that work?  Seems like a security risk if it does work.&lt;/P&gt;

&lt;P&gt;It appears I can make the stash files more temporary by reducing the number of default days in a /opt/apps/splunk/etc/system/local/props.conf to something like 30 days.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[stash]
TRUNCATE = 0
MAX_DAYS_HENCE=2
MAX_DAYS_AGO=10000
MAX_DIFF_SECS_AGO=3600
MAX_DIFF_SECS_HENCE=604800
LEARN_MODEL = false
REPORT-1 = stash_extract
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'll stop asking questions now.  Thanks for any answers and suggestions.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2010 02:13:53 GMT</pubDate>
    <dc:creator>I_am_Jeff</dc:creator>
    <dc:date>2010-10-28T02:13:53Z</dc:date>
    <item>
      <title>Configurable Location for Summary Index Possible?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79139#M787</link>
      <description>&lt;P&gt;Can summary indexes, aka stash files, be stored somewhere other than $SPLUNK_HOME/var/spool/splunk/_.stash?  Specifically, can the $SPLUNK_HOME part be changed?&lt;/P&gt;

&lt;P&gt;Disk space is the issue.  I have a DEV box, version 4.1.1, where the file system that $SPLUNK_HOME resides is 3 GB.  My normal indexes are stored on a different file system.  I'd like to put the stash files there.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Filesystem             size   used  avail capacity  Mounted on  
/opt/apps/splunk       3.0G   2.6G   426M    87%    /opt/apps/splunk  
/opt/apps/splunk-index01    20G   1.4G    19G     8%    /opt/apps/splunk-index01  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've read &lt;A href="http://answers.splunk.com/questions/2973/change-output-location-of-splunk-diag" rel="nofollow"&gt;http://answers.splunk.com/questions/2973/change-output-location-of-splunk-diag&lt;/A&gt; and that answer was to submit a feature request.  Is that the same answer here or has Splunk changed since then?&lt;/P&gt;

&lt;P&gt;I see stash mentioned in /opt/apps/splunk/etc/system/default/searchbnf.conf, but it doesn't appear the whole path can be changed unless I pull some trick like:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;file=../../../../../../../opt/apps/splunk-index/stash  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Will that work?  Seems like a security risk if it does work.&lt;/P&gt;

&lt;P&gt;It appears I can make the stash files more temporary by reducing the number of default days in a /opt/apps/splunk/etc/system/local/props.conf to something like 30 days.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[stash]
TRUNCATE = 0
MAX_DAYS_HENCE=2
MAX_DAYS_AGO=10000
MAX_DIFF_SECS_AGO=3600
MAX_DIFF_SECS_HENCE=604800
LEARN_MODEL = false
REPORT-1 = stash_extract
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'll stop asking questions now.  Thanks for any answers and suggestions.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2010 02:13:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79139#M787</guid>
      <dc:creator>I_am_Jeff</dc:creator>
      <dc:date>2010-10-28T02:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Configurable Location for Summary Index Possible?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79140#M788</link>
      <description>&lt;P&gt;The stash files for summary indexes are dropped into /var/spool/splunk and removed as soon as they're added to the summary index (which is configured in indexes.conf). If the stash files persist in the spool directory (or anywhere else) , that's a bug that you should consult Splunk Support for.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2010 22:28:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79140#M788</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-10-28T22:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Configurable Location for Summary Index Possible?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79141#M789</link>
      <description>&lt;P&gt;Thanks!  I'll check that.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2010 00:37:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79141#M789</guid>
      <dc:creator>I_am_Jeff</dc:creator>
      <dc:date>2010-10-29T00:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Configurable Location for Summary Index Possible?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79142#M790</link>
      <description>&lt;P&gt;haven't had the chance to call support, but will call this one answered.  If I find out more, I'll update this thread.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Nov 2010 03:04:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79142#M790</guid>
      <dc:creator>I_am_Jeff</dc:creator>
      <dc:date>2010-11-27T03:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Configurable Location for Summary Index Possible?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79143#M791</link>
      <description>&lt;P&gt;I also had an issue where the stash files were eating away all our disk space. Turns out, we were monitoring the SPLUNK_HOME\var\spool\splunk directory which somehow prevented the stash files from being deleted. &lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2011 03:03:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79143#M791</guid>
      <dc:creator>I-Man</dc:creator>
      <dc:date>2011-03-25T03:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Configurable Location for Summary Index Possible?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79144#M792</link>
      <description>&lt;P&gt;Monitoring that folder will result in stash files being retained, this has been run into more than once.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2011 04:37:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Configurable-Location-for-Summary-Index-Possible/m-p/79144#M792</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2011-03-25T04:37:43Z</dc:date>
    </item>
  </channel>
</rss>

