<?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: Archiving all indexes after 1 year in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341593#M62938</link>
    <description>&lt;P&gt;changed the path and restarted splunk&lt;/P&gt;

&lt;P&gt;got the following error:&lt;/P&gt;

&lt;P&gt;ERROR loader - Problem parsing indexes.conf: Cannot load IndexConfig: Cannot create index 'windows': path of coldToFrozenDir must be absolute ('"d:\Splunk_Archive\windows"')&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2017 15:22:48 GMT</pubDate>
    <dc:creator>heathramos</dc:creator>
    <dc:date>2017-08-02T15:22:48Z</dc:date>
    <item>
      <title>Archiving all indexes after 1 year</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341588#M62933</link>
      <description>&lt;P&gt;I am trying to set up archiving but I can't seem to get it working.&lt;/P&gt;

&lt;P&gt;From the docs I've read, I thought I just need to create a indexes.conf file, place it within system/local and include a line referring to coldToFrozenDir and frozenTimePeriodInSecs .&lt;/P&gt;

&lt;P&gt;I tried that for one index and if I restart Splunk, the service won't start back up again unless I delete that file.&lt;/P&gt;

&lt;P&gt;How exactly do I set this up?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 14:10:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341588#M62933</guid>
      <dc:creator>heathramos</dc:creator>
      <dc:date>2017-08-02T14:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving all indexes after 1 year</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341589#M62934</link>
      <description>&lt;P&gt;It may be crashing due to wrong configs (indexes.conf is an important configuration file). Make sure you update the config file correctly. See this links for details on those properties.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.2/Indexer/Setaretirementandarchivingpolicy"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.2/Indexer/Setaretirementandarchivingpolicy&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.2/Indexer/Automatearchiving"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.2/Indexer/Automatearchiving&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 14:34:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341589#M62934</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-08-02T14:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving all indexes after 1 year</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341590#M62935</link>
      <description>&lt;P&gt;What should be in that config file?&lt;/P&gt;

&lt;P&gt;My file contains the following:&lt;/P&gt;

&lt;P&gt;[windows]&lt;BR /&gt;
coldToFrozenDir = "$SPLUNK_DB\windows\frozendb"&lt;BR /&gt;
frozenTimePeriodInSecs = 31536000&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 14:41:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341590#M62935</guid>
      <dc:creator>heathramos</dc:creator>
      <dc:date>2017-08-02T14:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving all indexes after 1 year</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341591#M62936</link>
      <description>&lt;P&gt;Try putting hardcoded path (full path) in coldToFrozenDir attribute. &lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 14:48:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341591#M62936</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-08-02T14:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving all indexes after 1 year</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341592#M62937</link>
      <description>&lt;P&gt;If Splunk doesn't restart because of indexes.conf issues, it should give you some error messages in $SPLUNK_HOME\var\run\splunk\splunkd.log during startup (given your example, I am assuming you are running on Windows)&lt;BR /&gt;
It would be helpful to see what is being logged.&lt;/P&gt;

&lt;P&gt;My best guess is the quotes in your directory, which probably prevent resolution of the env. variable.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 14:56:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341592#M62937</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-08-02T14:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving all indexes after 1 year</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341593#M62938</link>
      <description>&lt;P&gt;changed the path and restarted splunk&lt;/P&gt;

&lt;P&gt;got the following error:&lt;/P&gt;

&lt;P&gt;ERROR loader - Problem parsing indexes.conf: Cannot load IndexConfig: Cannot create index 'windows': path of coldToFrozenDir must be absolute ('"d:\Splunk_Archive\windows"')&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 15:22:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341593#M62938</guid>
      <dc:creator>heathramos</dc:creator>
      <dc:date>2017-08-02T15:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving all indexes after 1 year</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341594#M62939</link>
      <description>&lt;P&gt;looks like getting rid of the quotes completely worked&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 16:26:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341594#M62939</guid>
      <dc:creator>heathramos</dc:creator>
      <dc:date>2017-08-02T16:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving all indexes after 1 year</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341595#M62940</link>
      <description>&lt;P&gt;If your problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 16:47:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341595#M62940</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-08-02T16:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving all indexes after 1 year</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341596#M62941</link>
      <description>&lt;P&gt;Thank you for closing the loop!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 19:56:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Archiving-all-indexes-after-1-year/m-p/341596#M62941</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-08-02T19:56:03Z</dc:date>
    </item>
  </channel>
</rss>

