<?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 How to purge old syslog events in Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-purge-old-syslog-events-in-Splunk/m-p/248228#M47834</link>
    <description>&lt;P&gt;I can't for the life of me figure out how to purge old syslog entries in Splunk.&lt;/P&gt;

&lt;P&gt;Tech details:&lt;BR /&gt;
My 1st time using Splunk&lt;BR /&gt;
Using Splunk on Windows Server 2012&lt;BR /&gt;
Listening over UDP on 514 from Meraki devices.&lt;/P&gt;

&lt;P&gt;Is there a way I can set a max number of entries and anything over the max falls off, or at least only keep the last 7-14 days of entries?&lt;/P&gt;

&lt;P&gt;I'm currently at about 13,000,000 entries.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2016 13:40:24 GMT</pubDate>
    <dc:creator>benbeard</dc:creator>
    <dc:date>2016-08-26T13:40:24Z</dc:date>
    <item>
      <title>How to purge old syslog events in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-purge-old-syslog-events-in-Splunk/m-p/248228#M47834</link>
      <description>&lt;P&gt;I can't for the life of me figure out how to purge old syslog entries in Splunk.&lt;/P&gt;

&lt;P&gt;Tech details:&lt;BR /&gt;
My 1st time using Splunk&lt;BR /&gt;
Using Splunk on Windows Server 2012&lt;BR /&gt;
Listening over UDP on 514 from Meraki devices.&lt;/P&gt;

&lt;P&gt;Is there a way I can set a max number of entries and anything over the max falls off, or at least only keep the last 7-14 days of entries?&lt;/P&gt;

&lt;P&gt;I'm currently at about 13,000,000 entries.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 13:40:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-purge-old-syslog-events-in-Splunk/m-p/248228#M47834</guid>
      <dc:creator>benbeard</dc:creator>
      <dc:date>2016-08-26T13:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to purge old syslog events in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-purge-old-syslog-events-in-Splunk/m-p/248229#M47835</link>
      <description>&lt;P&gt;Event expiration happens at the index level.  You can't (using normal Splunk practices) expire from a single sourcetype/host/etc.&lt;/P&gt;

&lt;P&gt;Take a look at indexes.conf doc:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Admin/Indexesconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Admin/Indexesconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;maxTotalDataSizeMB = &lt;BR /&gt;
 * The maximum size of an index (in MB).&lt;BR /&gt;
 * If an index grows larger than the maximum size, the oldest data is frozen.&lt;BR /&gt;
 * This parameter only applies to hot, warm, and cold buckets.  It does not&lt;BR /&gt;
  apply to thawed buckets.&lt;BR /&gt;
 * Highest legal value is 4294967295&lt;BR /&gt;
 * Defaults to 500000.&lt;/P&gt;

&lt;P&gt;frozenTimePeriodInSecs = &lt;BR /&gt;
 * Number of seconds after which indexed data rolls to frozen.&lt;BR /&gt;
 * If you do not specify a coldToFrozenScript, data is deleted when rolled to&lt;BR /&gt;
  frozen.&lt;BR /&gt;
 * IMPORTANT: Every event in the DB must be older than frozenTimePeriodInSecs&lt;BR /&gt;
  before it will roll. Then, the DB will be frozen the next time splunkd&lt;BR /&gt;
  checks (based on rotatePeriodInSecs attribute).&lt;BR /&gt;
 * Highest legal value is 4294967295&lt;BR /&gt;
 * Defaults to 188697600 (6 years).&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:36:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-purge-old-syslog-events-in-Splunk/m-p/248229#M47835</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2016-08-26T16:36:30Z</dc:date>
    </item>
  </channel>
</rss>

