<?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: Splunk removes data from Index, how to set size limit only for index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/588739#M103303</link>
    <description>&lt;P&gt;So I am still seeing the data loss. I was able to find it in _internal as well. Here is my indexes.conf stanza for this index:&lt;/P&gt;&lt;P&gt;# SCADA related indices&lt;BR /&gt;[escadahist]&lt;BR /&gt;homePath = volume:hot/escadahist/db&lt;BR /&gt;coldPath = volume:cold/escadahist/colddb&lt;BR /&gt;thawedPath = $SPLUNK_DB/escadahist/thaweddb&lt;BR /&gt;maxDataSize = auto_high_volume&lt;BR /&gt;maxHotBuckets = 10&lt;BR /&gt;maxWarmDBCount = 10000&lt;BR /&gt;maxTotalDataSizeMB = 500000&lt;BR /&gt;enableTsidxReduction = false&lt;/P&gt;&lt;P&gt;After setting the above I clean the index and reset the rising counter in my DBConnect input to reload everything. 45 minutes into reloading I see the following&amp;nbsp;in _internal:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;03-02-2022&lt;/SPAN&gt; &lt;SPAN class=""&gt;23:27:01.088&lt;/SPAN&gt; &lt;SPAN class=""&gt;-0500&lt;/SPAN&gt; &lt;SPAN class=""&gt;INFO&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;BucketMover&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class=""&gt;7660&lt;/SPAN&gt; &lt;SPAN class=""&gt;IndexerService&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;idx=&lt;SPAN class=""&gt;escadahist&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;Moving&lt;/SPAN&gt; &lt;SPAN class=""&gt;bucket=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;db_1613378370_1587632768_210&lt;/SPAN&gt;&lt;SPAN&gt;', &lt;/SPAN&gt;&lt;SPAN class=""&gt;starting&lt;/SPAN&gt; &lt;SPAN class=""&gt;warm_to_cold:&lt;/SPAN&gt; &lt;SPAN class=""&gt;from=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;/splunk/var/lib/splunk/&lt;SPAN class=""&gt;escadahist&lt;/SPAN&gt;/db&lt;/SPAN&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;SPAN class=""&gt;to=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;/splunkcold/&lt;SPAN class=""&gt;escadahist&lt;/SPAN&gt;/colddb&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;caller=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;trimVolume&lt;/SPAN&gt;&lt;SPAN&gt;', &lt;/SPAN&gt;&lt;SPAN class=""&gt;reason=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;volume&lt;/SPAN&gt; &lt;SPAN class=""&gt;size&lt;/SPAN&gt; &lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;warm&lt;/SPAN&gt; &lt;SPAN class=""&gt;storage&lt;/SPAN&gt; &lt;SPAN class=""&gt;exceeded'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;And I see the size of the index be reduced, age of data be reduced, it is removing data again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I have opened a support ticket but they are not helpful. Does "caller=&lt;SPAN&gt;'&lt;/SPAN&gt;trimVolume&lt;SPAN&gt;'" hold a piece to the puzzle???&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Mar 2022 13:52:41 GMT</pubDate>
    <dc:creator>leekeener</dc:creator>
    <dc:date>2022-03-11T13:52:41Z</dc:date>
    <item>
      <title>Splunk removes data from Index: How to set size limit only for index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/581739#M102529</link>
      <description>&lt;P&gt;&amp;nbsp; &amp;nbsp; I work at a utility and we have an index that contains SCADA events from the electric system. We have data that goes back to 2015.&amp;nbsp; There are a very large number of total events (1.8 billion or so).&amp;nbsp; I had an engineer trying to trend some voltages over a long time period and it was discovered that Splunk had removed all of the events before 8/1/2020. I cleaned the index and added enableTsidxReduction=false. I then cleaned and reloaded the index and it appears it has removed events prior to Jan 1 2017 this time. The total size of this index is only around 60GB, The SQL database we are loading it from is 100GB total, these events are only two tables. We use DB Connect with a rising column for loading. MSSQL to dedicated SCADA index. Two inputs, one for each table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; I would like for size to be only factor controlling when data leaves the index, I would also prefer for buckets to only be hot and warm, cold is on a much slower storage system and we have plenty of hot/warm space. what is the conf file settings that achieve this?&lt;/P&gt;
&lt;P&gt;I have found the spec for indexes.conf and it is very daunting, I have scrolled down through it and it is hard for me to understand what is the right settings to use.&amp;nbsp; Is there a guide somewhere that outlines the behavior and cotnrols for index data management?&lt;/P&gt;
&lt;P&gt;We run a distributed system with two indexers on 8.2.3&lt;/P&gt;
&lt;P&gt;Thanks for the help.&lt;/P&gt;
&lt;P&gt;Lee.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 05:39:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/581739#M102529</guid>
      <dc:creator>leekeener</dc:creator>
      <dc:date>2022-03-12T05:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk removes data from Index, how to set size limit only for index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/581744#M102531</link>
      <description>&lt;P&gt;There are couple of settings which you must change for this. If you don’t use splunk volumes then the next should do the trick.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;maxWarmDBCount &amp;nbsp;- enough big that all buckets have room on warm&lt;/LI&gt;&lt;LI&gt;maxTotalDBSize - enough space as MB for all data and metadata&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;maxDataSize - auto_high_volume - to take bigger buckets in use&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please check those names and explanations from&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.4/Admin/Indexesconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.4/Admin/Indexesconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 21:05:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/581744#M102531</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-19T21:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk removes data from Index, how to set size limit only for index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/583947#M102828</link>
      <description>&lt;P&gt;Thanks for your answer. I will try these and reload the index. I will update this thread with the results.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 13:57:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/583947#M102828</guid>
      <dc:creator>leekeener</dc:creator>
      <dc:date>2022-02-07T13:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk removes data from Index, how to set size limit only for index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/587654#M103214</link>
      <description>&lt;P&gt;I tried the suggested settings with no change, it still removes events. I have opened a ticket with Splunk support. I will post the resolution here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Lee.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 13:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/587654#M103214</guid>
      <dc:creator>leekeener</dc:creator>
      <dc:date>2022-03-04T13:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk removes data from Index, how to set size limit only for index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/588739#M103303</link>
      <description>&lt;P&gt;So I am still seeing the data loss. I was able to find it in _internal as well. Here is my indexes.conf stanza for this index:&lt;/P&gt;&lt;P&gt;# SCADA related indices&lt;BR /&gt;[escadahist]&lt;BR /&gt;homePath = volume:hot/escadahist/db&lt;BR /&gt;coldPath = volume:cold/escadahist/colddb&lt;BR /&gt;thawedPath = $SPLUNK_DB/escadahist/thaweddb&lt;BR /&gt;maxDataSize = auto_high_volume&lt;BR /&gt;maxHotBuckets = 10&lt;BR /&gt;maxWarmDBCount = 10000&lt;BR /&gt;maxTotalDataSizeMB = 500000&lt;BR /&gt;enableTsidxReduction = false&lt;/P&gt;&lt;P&gt;After setting the above I clean the index and reset the rising counter in my DBConnect input to reload everything. 45 minutes into reloading I see the following&amp;nbsp;in _internal:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;03-02-2022&lt;/SPAN&gt; &lt;SPAN class=""&gt;23:27:01.088&lt;/SPAN&gt; &lt;SPAN class=""&gt;-0500&lt;/SPAN&gt; &lt;SPAN class=""&gt;INFO&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;BucketMover&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class=""&gt;7660&lt;/SPAN&gt; &lt;SPAN class=""&gt;IndexerService&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;idx=&lt;SPAN class=""&gt;escadahist&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;Moving&lt;/SPAN&gt; &lt;SPAN class=""&gt;bucket=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;db_1613378370_1587632768_210&lt;/SPAN&gt;&lt;SPAN&gt;', &lt;/SPAN&gt;&lt;SPAN class=""&gt;starting&lt;/SPAN&gt; &lt;SPAN class=""&gt;warm_to_cold:&lt;/SPAN&gt; &lt;SPAN class=""&gt;from=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;/splunk/var/lib/splunk/&lt;SPAN class=""&gt;escadahist&lt;/SPAN&gt;/db&lt;/SPAN&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;SPAN class=""&gt;to=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;/splunkcold/&lt;SPAN class=""&gt;escadahist&lt;/SPAN&gt;/colddb&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;caller=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;trimVolume&lt;/SPAN&gt;&lt;SPAN&gt;', &lt;/SPAN&gt;&lt;SPAN class=""&gt;reason=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;volume&lt;/SPAN&gt; &lt;SPAN class=""&gt;size&lt;/SPAN&gt; &lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;warm&lt;/SPAN&gt; &lt;SPAN class=""&gt;storage&lt;/SPAN&gt; &lt;SPAN class=""&gt;exceeded'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;And I see the size of the index be reduced, age of data be reduced, it is removing data again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I have opened a support ticket but they are not helpful. Does "caller=&lt;SPAN&gt;'&lt;/SPAN&gt;trimVolume&lt;SPAN&gt;'" hold a piece to the puzzle???&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 13:52:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/588739#M103303</guid>
      <dc:creator>leekeener</dc:creator>
      <dc:date>2022-03-11T13:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk removes data from Index, how to set size limit only for index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/588745#M103304</link>
      <description>&lt;P&gt;Hold the phone. I just found where volume:hot was being defined. We used Splunk services to setup our implementation in 2016 and she created a separate app for volume index management that I have never opened. It has an indexes.conf with only two stanzas for hot and cold volume and only two parameters each. In it, volume:hot maxVolumeDataSizeMB set to 650GB. I have adjusted this to match my free NVMe space on each indexer (7.5TB) and am going to reload. Hoping I finally have found it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 15:03:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/588745#M103304</guid>
      <dc:creator>leekeener</dc:creator>
      <dc:date>2022-03-11T15:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk removes data from Index, how to set size limit only for index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/589227#M103353</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;when you are hunting this kind of configuration issues you best friend is btool! Just use "splunk btool indexes list --debug &amp;lt;your index OR volume &amp;nbsp;name&amp;gt;". This shows what are all setting belongs to this entity and where those are defined!&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 07:20:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-removes-data-from-Index-How-to-set-size-limit-only-for/m-p/589227#M103353</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-03-16T07:20:15Z</dc:date>
    </item>
  </channel>
</rss>

