<?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 Time Based Retention in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-Based-Retention/m-p/153256#M31183</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;

&lt;P&gt;I am trying to have Splunk Auto delete data older then a year.&lt;/P&gt;

&lt;P&gt;My /opt/splunk/etc/system/local/inputs.conf looks like this:&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
maxHotSpanSecs=7776000&lt;BR /&gt;
frozenTimePeriodInSecs = 31557600&lt;BR /&gt;
maxTotalDataSizeMB = 4194304&lt;/P&gt;

&lt;P&gt;When I restart splunk I get this error.&lt;/P&gt;

&lt;P&gt;Invalid key in stanza [default] in /opt/splunk/etc/system/local/inputs.conf, line 2: maxHotSpanSecs (value: 7776000)&lt;BR /&gt;
Invalid key in stanza [default] in /opt/splunk/etc/system/local/inputs.conf, line 3: frozenTimePeriodInSecs  (value:  31557600)&lt;BR /&gt;
Invalid key in stanza [default] in /opt/splunk/etc/system/local/inputs.conf, line 4: maxTotalDataSizeMB  (value:  4194304)&lt;/P&gt;

&lt;P&gt;What am I doing wrong?  &lt;/P&gt;</description>
    <pubDate>Tue, 17 Feb 2015 13:54:17 GMT</pubDate>
    <dc:creator>nspatel</dc:creator>
    <dc:date>2015-02-17T13:54:17Z</dc:date>
    <item>
      <title>Splunk Time Based Retention</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-Based-Retention/m-p/153256#M31183</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;

&lt;P&gt;I am trying to have Splunk Auto delete data older then a year.&lt;/P&gt;

&lt;P&gt;My /opt/splunk/etc/system/local/inputs.conf looks like this:&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
maxHotSpanSecs=7776000&lt;BR /&gt;
frozenTimePeriodInSecs = 31557600&lt;BR /&gt;
maxTotalDataSizeMB = 4194304&lt;/P&gt;

&lt;P&gt;When I restart splunk I get this error.&lt;/P&gt;

&lt;P&gt;Invalid key in stanza [default] in /opt/splunk/etc/system/local/inputs.conf, line 2: maxHotSpanSecs (value: 7776000)&lt;BR /&gt;
Invalid key in stanza [default] in /opt/splunk/etc/system/local/inputs.conf, line 3: frozenTimePeriodInSecs  (value:  31557600)&lt;BR /&gt;
Invalid key in stanza [default] in /opt/splunk/etc/system/local/inputs.conf, line 4: maxTotalDataSizeMB  (value:  4194304)&lt;/P&gt;

&lt;P&gt;What am I doing wrong?  &lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:54:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-Based-Retention/m-p/153256#M31183</guid>
      <dc:creator>nspatel</dc:creator>
      <dc:date>2015-02-17T13:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time Based Retention</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-Based-Retention/m-p/153257#M31184</link>
      <description>&lt;P&gt;These settings belong in indexes.conf, not inputs.conf.  So, Splunk is warning you that you have invalid stanzas in your inputs.conf.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 14:19:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-Based-Retention/m-p/153257#M31184</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2015-02-17T14:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time Based Retention</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-Based-Retention/m-p/153258#M31185</link>
      <description>&lt;P&gt;Ha!  Bonehead mistake.&lt;/P&gt;

&lt;P&gt;Do you know if the values can be applied globally or if they have to be per index? &lt;/P&gt;

&lt;P&gt;Can I do exactly what I have (just in the right location) or do I need to the following&lt;/P&gt;

&lt;P&gt;[index1]&lt;BR /&gt;
maxHotSpanSecs=7776000&lt;BR /&gt;
frozenTimePeriodInSecs = 31557600&lt;BR /&gt;
maxTotalDataSizeMB = 4194304&lt;/P&gt;

&lt;P&gt;[index2]&lt;BR /&gt;
maxHotSpanSecs=7776000&lt;BR /&gt;
frozenTimePeriodInSecs = 31557600&lt;BR /&gt;
maxTotalDataSizeMB = 4194304&lt;/P&gt;

&lt;P&gt;and so forth?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 14:25:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-Based-Retention/m-p/153258#M31185</guid>
      <dc:creator>nspatel</dc:creator>
      <dc:date>2015-02-17T14:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Time Based Retention</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-Based-Retention/m-p/153259#M31186</link>
      <description>&lt;P&gt;Yes you can set those values globally by using [default] stanza.  Then eliminate those settings from the index-specific stanzas.  Feel free to refer to spec file in /opt/splunk/etc/system/README/ for the config file in question.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 14:25:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Time-Based-Retention/m-p/153259#M31186</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2015-02-17T14:25:24Z</dc:date>
    </item>
  </channel>
</rss>

