<?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: how change sinkhole directory and configure it? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69605#M14132</link>
    <description>&lt;P&gt;Hi giovere&lt;/P&gt;

&lt;P&gt;you can setup a sinkhole with the batch stanza, meaning you can define any directory as &lt;EM&gt;sinkhole&lt;/EM&gt;. the move_policy &lt;EM&gt;sinkhole&lt;/EM&gt; tells splunk to load the file destructively. there is no way to tell splunk to delete files after five days or so.......&lt;/P&gt;

&lt;P&gt;but you could setup a montior stanza instead of a batch stanza and use logadm (on *nix) to rotate/delete the files away after 5 days.&lt;/P&gt;

&lt;P&gt;further information about monitor/batch stanzas can go to -&amp;gt; &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.3/Data/Editinputs.conf"&gt;click me&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;kind regards&lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2011 06:25:47 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2011-09-05T06:25:47Z</dc:date>
    <item>
      <title>how change sinkhole directory and configure it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69604#M14131</link>
      <description>&lt;P&gt;I'm trying to change sinkhole directory and configure it so that it will delete files only after 5 days or so. Is there a way to achieve this?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2011 13:36:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69604#M14131</guid>
      <dc:creator>giovere</dc:creator>
      <dc:date>2011-09-02T13:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: how change sinkhole directory and configure it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69605#M14132</link>
      <description>&lt;P&gt;Hi giovere&lt;/P&gt;

&lt;P&gt;you can setup a sinkhole with the batch stanza, meaning you can define any directory as &lt;EM&gt;sinkhole&lt;/EM&gt;. the move_policy &lt;EM&gt;sinkhole&lt;/EM&gt; tells splunk to load the file destructively. there is no way to tell splunk to delete files after five days or so.......&lt;/P&gt;

&lt;P&gt;but you could setup a montior stanza instead of a batch stanza and use logadm (on *nix) to rotate/delete the files away after 5 days.&lt;/P&gt;

&lt;P&gt;further information about monitor/batch stanzas can go to -&amp;gt; &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.3/Data/Editinputs.conf"&gt;click me&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;kind regards&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2011 06:25:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69605#M14132</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2011-09-05T06:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: how change sinkhole directory and configure it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69606#M14133</link>
      <description>&lt;P&gt;thanks a lot! I'll give it a try tomorrow, do you know if I can remove 5 or so days old data+indexes from the Splunk itself and what's the way to do it?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2011 15:56:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69606#M14133</guid>
      <dc:creator>giovere</dc:creator>
      <dc:date>2011-09-05T15:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: how change sinkhole directory and configure it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69607#M14134</link>
      <description>&lt;P&gt;you can set various time related settings in indexes.conf &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.3/admin/Indexesconf"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.3/admin/Indexesconf&lt;/A&gt; I think with some try &amp;amp; error you should be able to achieve this.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 05:25:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69607#M14134</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2011-09-06T05:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: how change sinkhole directory and configure it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69608#M14135</link>
      <description>&lt;P&gt;You can set a retirement policy to remove indexed data when it reaches a configurable age.  For details, see:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.3/Admin/Setaretirementandarchivingpolicy"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.3/Admin/Setaretirementandarchivingpolicy&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 17:59:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69608#M14135</guid>
      <dc:creator>Steve_G_</dc:creator>
      <dc:date>2011-09-06T17:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: how change sinkhole directory and configure it?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69609#M14136</link>
      <description>&lt;P&gt;Awesome! thanks ...&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:54:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-change-sinkhole-directory-and-configure-it/m-p/69609#M14136</guid>
      <dc:creator>giovere</dc:creator>
      <dc:date>2011-09-07T09:54:11Z</dc:date>
    </item>
  </channel>
</rss>

