<?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: Problem with deleting event data on specific time in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Problem-with-deleting-event-data-on-specific-time/m-p/195738#M38944</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;
Yes I really need to delete every day.&lt;BR /&gt;
Thanks the scheduled search is good idea and it should work for this situation. The cron job is difficult because you need to stop splunk for clean eventdata.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2014 09:04:43 GMT</pubDate>
    <dc:creator>C_Sparn</dc:creator>
    <dc:date>2014-06-12T09:04:43Z</dc:date>
    <item>
      <title>Problem with deleting event data on specific time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-with-deleting-event-data-on-specific-time/m-p/195736#M38942</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm looking for a possibility to delete all eventdata of one index at a specific time on every day! It is not important to use the "splunk clean eventdata -index" command. It can also be just an "search index = any |delete".&lt;BR /&gt;
Whats the best method to get this working?&lt;BR /&gt;
Greetings&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 13:01:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-with-deleting-event-data-on-specific-time/m-p/195736#M38942</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-06-11T13:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with deleting event data on specific time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-with-deleting-event-data-on-specific-time/m-p/195737#M38943</link>
      <description>&lt;P&gt;Why would you want to do that?  If you're trying to limit searches to today you can do that by adding &lt;CODE&gt;'earliest=-1d'&lt;/CODE&gt; to your queries.&lt;/P&gt;

&lt;P&gt;If you really want to delete data every day you either set up a cron job to run &lt;CODE&gt;'splunk clean eventdata'&lt;/CODE&gt; at the desired time or create a Splunk scheduled search for &lt;CODE&gt;'index=foo | delete'&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 14:40:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-with-deleting-event-data-on-specific-time/m-p/195737#M38943</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-06-11T14:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with deleting event data on specific time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-with-deleting-event-data-on-specific-time/m-p/195738#M38944</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
Yes I really need to delete every day.&lt;BR /&gt;
Thanks the scheduled search is good idea and it should work for this situation. The cron job is difficult because you need to stop splunk for clean eventdata.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2014 09:04:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-with-deleting-event-data-on-specific-time/m-p/195738#M38944</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-06-12T09:04:43Z</dc:date>
    </item>
  </channel>
</rss>

