<?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 do you delete old data from an index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404295#M71792</link>
    <description>&lt;P&gt;You are looking for &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/Indexer/RemovedatafromSplunk"&gt;Remove indexes and indexed data&lt;/A&gt; in the &lt;EM&gt;Managing Indexers and Clusters of Indexers&lt;/EM&gt; manual.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jan 2019 19:13:41 GMT</pubDate>
    <dc:creator>ChrisG</dc:creator>
    <dc:date>2019-01-14T19:13:41Z</dc:date>
    <item>
      <title>How do you delete old data from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404294#M71791</link>
      <description>&lt;P&gt;Hi team!&lt;/P&gt;

&lt;P&gt;I am a beginner and I need help.&lt;/P&gt;

&lt;P&gt;I did an index. This Index imported all information from a CSV.&lt;/P&gt;

&lt;P&gt;The problem is I have repeat information in the index because every time it imports information, it stores all data.&lt;/P&gt;

&lt;P&gt;This CSV has IPs, and because of this, I have repeat IPs...&lt;/P&gt;

&lt;P&gt;How can I refresh my index and delete old data?  I need to import all IPs, not only those that change.&lt;/P&gt;

&lt;P&gt;Thank you a lot.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 17:59:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404294#M71791</guid>
      <dc:creator>christianubeda</dc:creator>
      <dc:date>2019-01-14T17:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do you delete old data from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404295#M71792</link>
      <description>&lt;P&gt;You are looking for &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/Indexer/RemovedatafromSplunk"&gt;Remove indexes and indexed data&lt;/A&gt; in the &lt;EM&gt;Managing Indexers and Clusters of Indexers&lt;/EM&gt; manual.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 19:13:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404295#M71792</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2019-01-14T19:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do you delete old data from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404296#M71793</link>
      <description>&lt;P&gt;I know that you probably need more information than this but this is the only part of what you wrote that I  can understand.  You have 2 ways to delete data from Splunk:&lt;/P&gt;

&lt;P&gt;1: Create a search that shows the data to delete and then add &lt;CODE&gt;| delete&lt;/CODE&gt; to the end of that search.  You may need to run this as user &lt;CODE&gt;admin&lt;/CODE&gt; and add the &lt;CODE&gt;can_delete&lt;/CODE&gt; capability to that user.&lt;BR /&gt;
2: Run the &lt;CODE&gt;clean eventdata&lt;/CODE&gt; command (google it) on that index.  You must stop splunk to run this.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 20:42:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404296#M71793</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-14T20:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do you delete old data from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404297#M71794</link>
      <description>&lt;P&gt;you can delete data from your index if you have can_delete role, but not needed unless you can't do without it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=&amp;lt;yourindexname&amp;gt;|delete
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You need to be very careful with this approach as data deletion will lead to empty searches till the time new lookup is indexed.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 20:58:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404297#M71794</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-01-14T20:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do you delete old data from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404298#M71795</link>
      <description>&lt;P&gt;You have 2 ways-&lt;BR /&gt;
1. Use clean command in CLI - &lt;STRONG&gt;splunk clean eventdata -index ** , it will delete the indexed data permanently.&lt;BR /&gt;
2. Use delete command in Splunk Web- **index= | delete&lt;/STRONG&gt; , it will make your data non searchable from this particular index.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 07:54:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-delete-old-data-from-an-index/m-p/404298#M71795</guid>
      <dc:creator>ManchitMalik</dc:creator>
      <dc:date>2019-01-15T07:54:36Z</dc:date>
    </item>
  </channel>
</rss>

