<?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 Splunk Data cleanup in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Data-cleanup/m-p/552771#M91676</link>
    <description>&lt;P&gt;Hi Team!&lt;/P&gt;&lt;P&gt;I would like to clean all the old data from Splunk so that i can limit to 2 years only. Currently it is storing all the data.&lt;/P&gt;&lt;P&gt;How do I achieve it and the steps to do it.&lt;/P&gt;&lt;P&gt;Thank you so much and really apreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 12:30:26 GMT</pubDate>
    <dc:creator>somramsam</dc:creator>
    <dc:date>2021-05-24T12:30:26Z</dc:date>
    <item>
      <title>Splunk Data cleanup</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Data-cleanup/m-p/552771#M91676</link>
      <description>&lt;P&gt;Hi Team!&lt;/P&gt;&lt;P&gt;I would like to clean all the old data from Splunk so that i can limit to 2 years only. Currently it is storing all the data.&lt;/P&gt;&lt;P&gt;How do I achieve it and the steps to do it.&lt;/P&gt;&lt;P&gt;Thank you so much and really apreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 12:30:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Data-cleanup/m-p/552771#M91676</guid>
      <dc:creator>somramsam</dc:creator>
      <dc:date>2021-05-24T12:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Data cleanup</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Data-cleanup/m-p/552778#M91678</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232595"&gt;@somramsam&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;do you want to clean all the data or only data older than 2 years?&lt;/P&gt;&lt;P&gt;In the first case you have to launch the CLI command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk clean eventdata -index &amp;lt;index_name&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;for all indexes, when Splunk is stopped.&lt;/P&gt;&lt;P&gt;If instead you want to clean data older than 2 years, you have to add to all your indexes.conf stanzas the following item&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;frozenTimePeriodInSecs = 63072000&lt;/LI-CODE&gt;&lt;P&gt;And then restart Splunk.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 13:09:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Data-cleanup/m-p/552778#M91678</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-24T13:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Data cleanup</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Data-cleanup/m-p/555692#M92019</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;: Thank you so much! does this clean and remove the data from splunk or makes the data unsearchable? I really need to save space on the server. Could you please help?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 21:24:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Data-cleanup/m-p/555692#M92019</guid>
      <dc:creator>somramsam</dc:creator>
      <dc:date>2021-06-14T21:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Data cleanup</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Data-cleanup/m-p/555730#M92039</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232595"&gt;@somramsam&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you use the delete command (adding to your user the role "can_delete") you make the deleted data unsearchable, but they remain in the buckets.&lt;/P&gt;&lt;P&gt;If instead you use the CLI command or you modify index retention, data will be physically removed.&lt;/P&gt;&lt;P&gt;Remember that if you modify retention, data will be removed as a bucket, in other words you could still have data older than the retention period because they are in a bucket containing some data still in the retention period; the bucket will be removed whan the latest event exceeds the retention period.&lt;/P&gt;&lt;P&gt;For more infos, see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.0/Indexer/Setaretirementandarchivingpolicy" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.0/Indexer/Setaretirementandarchivingpolicy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 07:07:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Data-cleanup/m-p/555730#M92039</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-06-15T07:07:07Z</dc:date>
    </item>
  </channel>
</rss>

