<?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 does Splunk rotate indexed data (colddb, etc)? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-does-Splunk-rotate-indexed-data-colddb-etc/m-p/347262#M63765</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have an index called app1 with the following configuration.&lt;/P&gt;

&lt;P&gt;[app1]&lt;BR /&gt;
coldPath = $SPLUNK_DB/app1/colddb&lt;BR /&gt;
homePath = $SPLUNK_DB/app1/db&lt;BR /&gt;
thawedPath = $SPLUNK_DB/app1/thaweddb&lt;BR /&gt;
maxDataSize = auto_high_volume&lt;BR /&gt;
frozenTimePeriodInSecs = 31536000&lt;BR /&gt;
maxTotalDataSizeMB = 5000000&lt;BR /&gt;
repFactor = auto&lt;/P&gt;

&lt;P&gt;Under $SPLUNK_DB/app1/, here is the output of " du -sk * "&lt;/P&gt;

&lt;P&gt;2016530744      colddb&lt;BR /&gt;
0       datamodel_summary&lt;BR /&gt;
2256897696      db&lt;BR /&gt;
0       thaweddb&lt;/P&gt;

&lt;P&gt;My understanding is that data is indexed and stored for 365 days, and I would assume the indexed data is stored under $SPLUNK_DB/app1/db. The part I don't understand is how the data is rolled into colddb and where may that be configured.&lt;/P&gt;

&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:36:00 GMT</pubDate>
    <dc:creator>jackiewkc</dc:creator>
    <dc:date>2020-09-29T16:36:00Z</dc:date>
    <item>
      <title>How does Splunk rotate indexed data (colddb, etc)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-does-Splunk-rotate-indexed-data-colddb-etc/m-p/347262#M63765</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have an index called app1 with the following configuration.&lt;/P&gt;

&lt;P&gt;[app1]&lt;BR /&gt;
coldPath = $SPLUNK_DB/app1/colddb&lt;BR /&gt;
homePath = $SPLUNK_DB/app1/db&lt;BR /&gt;
thawedPath = $SPLUNK_DB/app1/thaweddb&lt;BR /&gt;
maxDataSize = auto_high_volume&lt;BR /&gt;
frozenTimePeriodInSecs = 31536000&lt;BR /&gt;
maxTotalDataSizeMB = 5000000&lt;BR /&gt;
repFactor = auto&lt;/P&gt;

&lt;P&gt;Under $SPLUNK_DB/app1/, here is the output of " du -sk * "&lt;/P&gt;

&lt;P&gt;2016530744      colddb&lt;BR /&gt;
0       datamodel_summary&lt;BR /&gt;
2256897696      db&lt;BR /&gt;
0       thaweddb&lt;/P&gt;

&lt;P&gt;My understanding is that data is indexed and stored for 365 days, and I would assume the indexed data is stored under $SPLUNK_DB/app1/db. The part I don't understand is how the data is rolled into colddb and where may that be configured.&lt;/P&gt;

&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:36:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-does-Splunk-rotate-indexed-data-colddb-etc/m-p/347262#M63765</guid>
      <dc:creator>jackiewkc</dc:creator>
      <dc:date>2020-09-29T16:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: How does Splunk rotate indexed data (colddb, etc)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-does-Splunk-rotate-indexed-data-colddb-etc/m-p/347263#M63766</link>
      <description>&lt;P&gt;Hey @jackiewkc, Here's a link to an overview: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/Bucketsandclusters"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/Bucketsandclusters&lt;/A&gt;&lt;BR /&gt;
Buckets can be configured for max size or time and they rotate when the last event to enter the bucket matches the criteria. Hot/warm are stored in a different location than cold, which helps w/ search efficiency. (Splunk skips buckets if it can tell from the outside that the time range won't match, which is part of why time is such an efficient search parameter). For it to roll into colddb the conditions are configurable (for all stages, that is). You can read more about those configurations here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/Configureindexstorage"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/Configureindexstorage&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 22:11:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-does-Splunk-rotate-indexed-data-colddb-etc/m-p/347263#M63766</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-10-31T22:11:42Z</dc:date>
    </item>
  </channel>
</rss>

