<?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 to delete data older than X number of days Manually in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206173#M7698</link>
    <description>&lt;P&gt;Hi, we are all starting at a certain point..  in which index you want to delete the "old data"? if you are running  splunk btool indexes list INDEXNAME --debug and replace INDEXNAME with the name of your index you want to delete the data from you will see the frozenTimePeriodInSecs from the configfile splunk is using. never edit any indexes.conf in a default directory, until you are really sure you know what you are doing.&lt;BR /&gt;
you can create a etc/system/local/indexes.conf file and create stanza&lt;/P&gt;

&lt;P&gt;[myindex]&lt;BR /&gt;
frozenTimePeriodInSecs = 7200&lt;/P&gt;

&lt;P&gt;this will keep data in the index for 2 hours,&lt;/P&gt;

&lt;P&gt;regards,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2016 14:53:48 GMT</pubDate>
    <dc:creator>schose</dc:creator>
    <dc:date>2016-09-22T14:53:48Z</dc:date>
    <item>
      <title>How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206167#M7692</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I got a problem, I dont have space anymore and I want to delete data thats older than X days manually, &lt;BR /&gt;
I've tried:&lt;BR /&gt;
&lt;CODE&gt;frozenTimePeriodInSecs = 2592000&lt;/CODE&gt; &lt;BR /&gt;
 but SPLUNK is not deleting it. &lt;BR /&gt;
I cant search anymore because I have no disk space anymore so what can I do?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 12:31:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206167#M7692</guid>
      <dc:creator>nickbijmoer</dc:creator>
      <dc:date>2016-09-22T12:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206168#M7693</link>
      <description>&lt;P&gt;I think, that settings will be only for new datas. you can search and delete it - &lt;BR /&gt;
Your-index earliest=older-date latest=old-date |delete&lt;BR /&gt;
NOTE - indexed data deletion is irreversible.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:26:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206168#M7693</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-09-22T14:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206169#M7694</link>
      <description>&lt;P&gt;As I said unfortunately I cant search anymore, If I want to search, I get this error : Search not executed: The minimum free disk space (50MB) reached for /opt/data/splunk/var/run/splunk/dispatch&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:29:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206169#M7694</guid>
      <dc:creator>nickbijmoer</dc:creator>
      <dc:date>2016-09-22T14:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206170#M7695</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;well "| delete" will not delete it but only mark it as deleted. It will not give you any space back on filesystem. The much better way is using frozenTimePeriodInSecs. Are you sure that you restarted your indexers. verify with splunk btool indexes list INDEXNAME --debug that setting is really applied. should work.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:31:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206170#M7695</guid>
      <dc:creator>schose</dc:creator>
      <dc:date>2016-09-22T14:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206171#M7696</link>
      <description>&lt;P&gt;I've found this: &lt;/P&gt;

&lt;P&gt;[main]&lt;BR /&gt;
frozenTimePeriodInSecs = 15778800&lt;BR /&gt;
etc.&lt;/P&gt;

&lt;P&gt;But if I do splunk btool indexes list, I see multiple frozenTimePeriodInSecs lines, so did I put it in the proper file? &lt;/P&gt;

&lt;P&gt;P.S. Sorry but i'm really new to SPLUNK so sorry if im asking dumb questions.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:41:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206171#M7696</guid>
      <dc:creator>nickbijmoer</dc:creator>
      <dc:date>2016-09-22T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206172#M7697</link>
      <description>&lt;P&gt;oh ok, i thought this issue, then answered above without a cross-thought. &lt;BR /&gt;
i am not sure, maybe, try to delete using splunk CLI commandline, if possible. &lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:46:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206172#M7697</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-09-22T14:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206173#M7698</link>
      <description>&lt;P&gt;Hi, we are all starting at a certain point..  in which index you want to delete the "old data"? if you are running  splunk btool indexes list INDEXNAME --debug and replace INDEXNAME with the name of your index you want to delete the data from you will see the frozenTimePeriodInSecs from the configfile splunk is using. never edit any indexes.conf in a default directory, until you are really sure you know what you are doing.&lt;BR /&gt;
you can create a etc/system/local/indexes.conf file and create stanza&lt;/P&gt;

&lt;P&gt;[myindex]&lt;BR /&gt;
frozenTimePeriodInSecs = 7200&lt;/P&gt;

&lt;P&gt;this will keep data in the index for 2 hours,&lt;/P&gt;

&lt;P&gt;regards,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:53:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206173#M7698</guid>
      <dc:creator>schose</dc:creator>
      <dc:date>2016-09-22T14:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206174#M7699</link>
      <description>&lt;P&gt;Ahh okey thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;I got it now, appreciate the help!&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 07:33:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206174#M7699</guid>
      <dc:creator>nickbijmoer</dc:creator>
      <dc:date>2016-09-23T07:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206175#M7700</link>
      <description>&lt;P&gt;@schose, &lt;BR /&gt;
so, after marking some data as deleted thru "delete" command, how can we claim the filesystem space?!?!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 06:52:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206175#M7700</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-09-26T06:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206176#M7701</link>
      <description>&lt;P&gt;there is no way. you have to fade it out using frozenTimePeriodInSecs or reindex the data.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 14:39:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206176#M7701</guid>
      <dc:creator>schose</dc:creator>
      <dc:date>2016-09-26T14:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data older than X number of days Manually</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206177#M7702</link>
      <description>&lt;P&gt;Hi @schose,&lt;/P&gt;

&lt;P&gt;I tried "frozenTimePeriodInSecs = x secs"  parameter. but Instead of deleting the data from disk, it deleted the tsidx files and moved the raw data files to frozen directory.&lt;/P&gt;

&lt;P&gt;Any idea on how can I permanently remove that data from disk?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 13:05:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-delete-data-older-than-X-number-of-days-Manually/m-p/206177#M7702</guid>
      <dc:creator>jet1276</dc:creator>
      <dc:date>2018-02-27T13:05:14Z</dc:date>
    </item>
  </channel>
</rss>

