<?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: Index earliest data still moving after increasing index size. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Index-earliest-data-still-moving-after-increasing-index-size/m-p/465210#M80229</link>
    <description>&lt;P&gt;Please share the indexes.conf stanza for the index in question.  Please also share the &lt;CODE&gt;[default]&lt;/CODE&gt; stanza.&lt;/P&gt;</description>
    <pubDate>Tue, 26 May 2020 17:11:58 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-05-26T17:11:58Z</dc:date>
    <item>
      <title>Index earliest data still moving after increasing index size.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-earliest-data-still-moving-after-increasing-index-size/m-p/465209#M80228</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;A few days ago I had a problem with an index.&lt;BR /&gt;
The  &lt;CODE&gt;index_size_max&lt;/CODE&gt; was equal to the  &lt;CODE&gt;index_size&lt;/CODE&gt;, with the default setting in the indexes.conf file.&lt;/P&gt;

&lt;P&gt;Here is the request I used:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/indexes | where disabled = 0 | search NOT title = "_*" | eval currentDBSizeGB = round( currentDBSizeMB / 1024) | where currentDBSizeGB &amp;gt; 0 | table splunk_server title summaryHomePath_expanded minTime maxTime currentDBSizeGB totalEventCount frozenTimePeriodInSecs coldToFrozenDir maxTotalDataSizeMB | rename minTime AS earliest maxTime AS latest summaryHomePath_expanded AS index_path currentDBSizeGB AS index_size totalEventCount AS event_cnt frozenTimePeriodInSecs AS index_retention coldToFrozenDir AS index_path_frozen maxTotalDataSizeMB AS index_size_max title AS index 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;On May 14th AM =&amp;gt;&lt;/STRONG&gt; &lt;BR /&gt;
-index_max_size set to 512Go&lt;BR /&gt;
-index_size = 500Go&lt;BR /&gt;
-latest data age was "uptodate"&lt;BR /&gt;
-earliest data age was March 19th - 05:11:30&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;On May 14th PM =&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;
-index_max_size set to 1536Go (updated)&lt;BR /&gt;
-index_size = 509Go&lt;BR /&gt;
-latest data age was "uptodate"&lt;BR /&gt;
-earliest data age was March 19th - 05:11:30 (still the same date)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;On May 18th AM =&amp;gt;&lt;/STRONG&gt; &lt;BR /&gt;
-index_max_size set to 1536Go&lt;BR /&gt;
-index_size = 524Go&lt;BR /&gt;
-latest data age was "uptodate"&lt;BR /&gt;
-earliest data age was March 19th - 05:11:30 (still the same date)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;On May 23th AM =&amp;gt;&lt;/STRONG&gt; &lt;BR /&gt;
-index_max_size set to 1536Go&lt;BR /&gt;
-index_size = 563Go&lt;BR /&gt;
-latest data age was "uptodate"&lt;BR /&gt;
-earliest data age was March 23th - 12:22:28 (not anymore the same date)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;On May 26th AM =&amp;gt; (today)&lt;/STRONG&gt;&lt;BR /&gt;
-index_max_size set to 1536Go&lt;BR /&gt;
-index_size = 564Go&lt;BR /&gt;
-latest data age was "uptodate"&lt;BR /&gt;
-earliest data age was March 28th - 06:46:27 (not anymore the same date)&lt;/P&gt;

&lt;P&gt;Since I've increased the  &lt;CODE&gt;maxTotalDataSizeMB&lt;/CODE&gt; in indexes.conf, I'm still losing the oldest data, but the index is bigger days after days.&lt;BR /&gt;
I also notice that the earliest data ages are not exactly the same between my 2 indexers in my cluster.&lt;/P&gt;

&lt;P&gt;By default I must keep 1 year of data, and parameters are set for, aka " &lt;CODE&gt;frozenTimePeriodInSecs = 31557600&lt;/CODE&gt; "&lt;/P&gt;

&lt;P&gt;Can anyone help me please?&lt;/P&gt;

&lt;P&gt;Thanks a lot.&lt;/P&gt;

&lt;P&gt;P.S.  Can someone explain to me why this request gives me information for 2 of 3 indexes I've got?&lt;BR /&gt;
index names are  &lt;CODE&gt;csmsi_supervision_&lt;/CODE&gt; followed by  &lt;CODE&gt;active&lt;/CODE&gt;,  &lt;CODE&gt;passive&lt;/CODE&gt; or  &lt;CODE&gt;servicenow&lt;/CODE&gt;.&lt;BR /&gt;
"passive" is missing.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:33:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-earliest-data-still-moving-after-increasing-index-size/m-p/465209#M80228</guid>
      <dc:creator>gduc</dc:creator>
      <dc:date>2020-09-30T05:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Index earliest data still moving after increasing index size.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-earliest-data-still-moving-after-increasing-index-size/m-p/465210#M80229</link>
      <description>&lt;P&gt;Please share the indexes.conf stanza for the index in question.  Please also share the &lt;CODE&gt;[default]&lt;/CODE&gt; stanza.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 17:11:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-earliest-data-still-moving-after-increasing-index-size/m-p/465210#M80229</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-26T17:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Index earliest data still moving after increasing index size.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-earliest-data-still-moving-after-increasing-index-size/m-p/465211#M80230</link>
      <description>&lt;P&gt;here are the stanzas:&lt;/P&gt;

&lt;P&gt;file: $SPLUNK_HOME/etc/slave-apps/csmsi_all_indexes/local/indexes.conf&lt;BR /&gt;
[csmsi_supervision_active]&lt;BR /&gt;
coldPath = volume:cold/csmsi_supervision_active/colddb&lt;BR /&gt;
enableDataIntegrityControl = 0&lt;BR /&gt;
enableTsidxReduction = 0&lt;BR /&gt;
homePath = volume:live/csmsi_supervision_active/db&lt;BR /&gt;
maxTotalDataSizeMB = 1536000&lt;BR /&gt;
thawedPath = /r3c/r3cadmaa/thawed/csmsi_supervision_active/thaweddb&lt;BR /&gt;
repFactor = auto&lt;BR /&gt;
frozenTimePeriodInSecs = 31557600&lt;/P&gt;

&lt;P&gt;[csmsi_supervision_servicenow]&lt;BR /&gt;
coldPath = volume:cold/csmsi_supervision_servicenow/colddb&lt;BR /&gt;
enableDataIntegrityControl = 0&lt;BR /&gt;
enableTsidxReduction = 0&lt;BR /&gt;
homePath = volume:live/csmsi_supervision_servicenow/db&lt;BR /&gt;
maxTotalDataSizeMB = 512000&lt;BR /&gt;
thawedPath = /r3c/r3cadmaa/thawed/csmsi_supervision_servicenow/thaweddb&lt;BR /&gt;
repFactor = auto&lt;BR /&gt;
frozenTimePeriodInSecs = 31557600&lt;/P&gt;

&lt;P&gt;[csmsi_supervision_passive]&lt;BR /&gt;
coldPath = volume:cold/csmsi_supervision_passive/colddb&lt;BR /&gt;
enableDataIntegrityControl = 0&lt;BR /&gt;
enableTsidxReduction = 0&lt;BR /&gt;
homePath = volume:live/csmsi_supervision_passive/db&lt;BR /&gt;
maxTotalDataSizeMB = 512000&lt;BR /&gt;
thawedPath = /r3c/r3cadmaa/thawed/csmsi_supervision_passive/thaweddb&lt;BR /&gt;
frozenTimePeriodInSecs = 31557600&lt;BR /&gt;
repFactor = auto&lt;/P&gt;

&lt;P&gt;file : $SPLUNK_HOME/etc/system/default/indexes.conf&lt;/P&gt;

&lt;H1&gt;index specific defaults&lt;/H1&gt;

&lt;P&gt;maxDataSize = auto&lt;BR /&gt;
maxWarmDBCount = 300&lt;BR /&gt;
frozenTimePeriodInSecs = 188697600&lt;BR /&gt;
rotatePeriodInSecs = 60&lt;BR /&gt;
coldToFrozenScript =&lt;BR /&gt;
coldToFrozenDir =&lt;BR /&gt;
compressRawdata = true&lt;BR /&gt;
maxTotalDataSizeMB = 500000&lt;BR /&gt;
maxMemMB = 5&lt;BR /&gt;
maxConcurrentOptimizes = 6&lt;BR /&gt;
maxHotSpanSecs = 7776000&lt;BR /&gt;
maxHotIdleSecs = 0&lt;BR /&gt;
maxHotBuckets = 3&lt;BR /&gt;
minHotIdleSecsBeforeForceRoll = auto&lt;BR /&gt;
quarantinePastSecs = 77760000&lt;BR /&gt;
quarantineFutureSecs = 2592000&lt;BR /&gt;
rawChunkSizeBytes = 131072&lt;BR /&gt;
minRawFileSyncSecs = disable&lt;BR /&gt;
assureUTF8 = false&lt;BR /&gt;
serviceMetaPeriod = 25&lt;BR /&gt;
partialServiceMetaPeriod = 0&lt;BR /&gt;
throttleCheckPeriod = 15&lt;BR /&gt;
syncMeta = true&lt;BR /&gt;
maxMetaEntries = 1000000&lt;BR /&gt;
maxBloomBackfillBucketAge = 30d&lt;BR /&gt;
enableOnlineBucketRepair = true&lt;BR /&gt;
enableDataIntegrityControl = false&lt;BR /&gt;
maxTimeUnreplicatedWithAcks = 60&lt;BR /&gt;
maxTimeUnreplicatedNoAcks = 300&lt;BR /&gt;
minStreamGroupQueueSize = 2000&lt;BR /&gt;
warmToColdScript=&lt;BR /&gt;
tstatsHomePath = volume:_splunk_summaries/$_index_name/datamodel_summary&lt;BR /&gt;
homePath.maxDataSizeMB = 0&lt;BR /&gt;
coldPath.maxDataSizeMB = 0&lt;BR /&gt;
streamingTargetTsidxSyncPeriodMsec = 5000&lt;BR /&gt;
journalCompression = gzip&lt;BR /&gt;
enableTsidxReduction = false&lt;BR /&gt;
suspendHotRollByDeleteQuery = false&lt;BR /&gt;
tsidxReductionCheckPeriodInSec = 600&lt;BR /&gt;
timePeriodInSecBeforeTsidxReduction = 604800&lt;/P&gt;

&lt;P&gt;Thanks for helping&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:32:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-earliest-data-still-moving-after-increasing-index-size/m-p/465211#M80230</guid>
      <dc:creator>gduc</dc:creator>
      <dc:date>2020-09-30T05:32:50Z</dc:date>
    </item>
  </channel>
</rss>

