<?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 I delete previously loaded data before new data is indexed in Splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-delete-previously-loaded-data-before-new-data-is/m-p/253157#M75769</link>
    <description>&lt;P&gt;You can always run &lt;CODE&gt;&amp;lt;base query&amp;gt; | delete&lt;/CODE&gt; which would delete the returned data.&lt;/P&gt;</description>
    <pubDate>Sat, 03 Dec 2016 07:16:48 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2016-12-03T07:16:48Z</dc:date>
    <item>
      <title>How do I delete previously loaded data before new data is indexed in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-delete-previously-loaded-data-before-new-data-is/m-p/253155#M75767</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I am using SQL Source as my Data Source. I have written a Select query which loads data in the Database every 5 minutes. Now, what I need is before the Select query loads data in Splunk, I need to delete the previously loaded data.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 07:28:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-delete-previously-loaded-data-before-new-data-is/m-p/253155#M75767</guid>
      <dc:creator>shivendra_infy</dc:creator>
      <dc:date>2016-12-02T07:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete previously loaded data before new data is indexed in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-delete-previously-loaded-data-before-new-data-is/m-p/253156#M75768</link>
      <description>&lt;P&gt;Have you considered a live db lookup instead of deleting and reindexing the data every few minutes?&lt;BR /&gt;
If you can't do a live lookup, consider writing the data into the key value store instead of indexing it. There you can delete, update, etc.&lt;/P&gt;

&lt;P&gt;For actually indexed data, delete and update aren't valid operations.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 09:22:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-delete-previously-loaded-data-before-new-data-is/m-p/253156#M75768</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-12-02T09:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete previously loaded data before new data is indexed in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-delete-previously-loaded-data-before-new-data-is/m-p/253157#M75769</link>
      <description>&lt;P&gt;You can always run &lt;CODE&gt;&amp;lt;base query&amp;gt; | delete&lt;/CODE&gt; which would delete the returned data.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 07:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-delete-previously-loaded-data-before-new-data-is/m-p/253157#M75769</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-12-03T07:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete previously loaded data before new data is indexed in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-delete-previously-loaded-data-before-new-data-is/m-p/253158#M75770</link>
      <description>&lt;P&gt;I have the same question data is appending but old data and new data will be same some time so i am seeing less than 1,000 rows in MS sql live db and 10,000 rows in splunk which means 1000*10=10,000 but there should be 1,000 rows only as it is in ms sql i mean mirroring !:)&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 12:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-delete-previously-loaded-data-before-new-data-is/m-p/253158#M75770</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2016-12-03T12:27:59Z</dc:date>
    </item>
  </channel>
</rss>

