<?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: [SmartStore] Keep Splunk up while S3 is unavailable in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/SmartStore-Keep-Splunk-up-while-S3-is-unavailable/m-p/408488#M3586</link>
    <description>&lt;P&gt;May be your requirement can be managed by making configuration changes such that Splunk will get into Automatic detention when the connectivity to smart store is lost, and that will enable search but no additional data will be indexed.&lt;/P&gt;

&lt;P&gt;1) The settings in server.conf that initiate eviction based on occupancy of the cache's disk partition:&lt;/P&gt;

&lt;P&gt;The &lt;STRONG&gt;max_cache_size&lt;/STRONG&gt; setting specifies the maximum occupied space, in megabytes, for the disk partition that contains the cache.&lt;BR /&gt;
The &lt;STRONG&gt;minFreeSpace&lt;/STRONG&gt; setting specifies the minimum free space, in megabytes, for a partition.&lt;/P&gt;

&lt;P&gt;The &lt;STRONG&gt;eviction_padding&lt;/STRONG&gt; setting controls the amount of additional space, in megabytes, that the cache manager protects, beyond the &lt;STRONG&gt;minFreeSpace&lt;/STRONG&gt; value.&lt;/P&gt;

&lt;P&gt;When the occupied space on the cache's partition exceeds &lt;STRONG&gt;max_cache_size,&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;P&gt;The partition's free space falls below (&lt;STRONG&gt;minFreeSpace +eviction_padding),&lt;/STRONG&gt; the cache manager begins to evict data.&lt;/P&gt;

&lt;P&gt;3) To protect recently indexed data from eviction, set cache retention periods based on data recency, use the &lt;STRONG&gt;hotlist_recency_secs&lt;/STRONG&gt; and &lt;STRONG&gt;hotlist_bloom_filter_recency_hours&lt;/STRONG&gt;  &lt;/P&gt;

&lt;P&gt;i)&lt;STRONG&gt;hotlist_recency_secs&lt;/STRONG&gt;  : causes the cache manager to protect buckets that contain recent data over other buckets. When the eviction is necessary, the cache manager will not evict buckets until their configured retention periods have passed, unless all other buckets have already been evicted.&lt;/P&gt;

&lt;P&gt;ii)&lt;STRONG&gt;hotlist_bloom_filter_recency_hours&lt;/STRONG&gt;: To protect metadata files, such as the bloomfilter file from evition. &lt;/P&gt;

&lt;P&gt;The above setting can be implemented On a global level (across all indexes), to favor recently indexed data over recently used data. When configured globally it overrides the eviction policy. If &lt;STRONG&gt;hotlist_recency_secs is set globally to 604800 (7 days),&lt;/STRONG&gt; the cache manager will attempt to retain buckets with data that is less than seven days old. It will instead evict older buckets, even if those older buckets were searched more recently. The cache manager will only evict buckets containing data less than seven days old if there are no older buckets to evict.&lt;/P&gt;

&lt;P&gt;To configure the &lt;STRONG&gt;hotlist_recency_secs&lt;/STRONG&gt; and hotlist_bloom_filter_recency_hours settings globally, for all SmartStore indexes, you must set them in the &lt;STRONG&gt;[cachemanager]&lt;/STRONG&gt; stanza in server.conf.&lt;/P&gt;

&lt;P&gt;During remote store connectivity issue, the bucket will not upload to remote store but will roll to Warm, and due to   &lt;STRONG&gt;hotlist_recency_secs&lt;/STRONG&gt;  and &lt;STRONG&gt;hotlist_bloom_filter_recency_hours&lt;/STRONG&gt;  the recent data will also not get evicted and will be available for searching.. Due to failed eviction eventually, minFreeSpace  will drop indexers will get into Automatic detention.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:47:57 GMT</pubDate>
    <dc:creator>rbal_splunk</dc:creator>
    <dc:date>2020-09-29T22:47:57Z</dc:date>
    <item>
      <title>[SmartStore] Keep Splunk up while S3 is unavailable</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/SmartStore-Keep-Splunk-up-while-S3-is-unavailable/m-p/408487#M3585</link>
      <description>&lt;P&gt;In our Splunk installation, our indexes are using remotepath configured to use an in-house S3. We have had situations where S3 is unavailable for hours and sometimes days. During these periods our indexers our indexers become unstable. Some of the stability issues we have seen: &lt;BR /&gt;
1. Forwards are unable to reach the indexers. &lt;BR /&gt;
2. Indexers constantly restart &lt;/P&gt;

&lt;P&gt;Are there any configuration settings(timeouts, retries,etc.) that we can apply make the environment more stable?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 21:20:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/SmartStore-Keep-Splunk-up-while-S3-is-unavailable/m-p/408487#M3585</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2019-01-17T21:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: [SmartStore] Keep Splunk up while S3 is unavailable</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/SmartStore-Keep-Splunk-up-while-S3-is-unavailable/m-p/408488#M3586</link>
      <description>&lt;P&gt;May be your requirement can be managed by making configuration changes such that Splunk will get into Automatic detention when the connectivity to smart store is lost, and that will enable search but no additional data will be indexed.&lt;/P&gt;

&lt;P&gt;1) The settings in server.conf that initiate eviction based on occupancy of the cache's disk partition:&lt;/P&gt;

&lt;P&gt;The &lt;STRONG&gt;max_cache_size&lt;/STRONG&gt; setting specifies the maximum occupied space, in megabytes, for the disk partition that contains the cache.&lt;BR /&gt;
The &lt;STRONG&gt;minFreeSpace&lt;/STRONG&gt; setting specifies the minimum free space, in megabytes, for a partition.&lt;/P&gt;

&lt;P&gt;The &lt;STRONG&gt;eviction_padding&lt;/STRONG&gt; setting controls the amount of additional space, in megabytes, that the cache manager protects, beyond the &lt;STRONG&gt;minFreeSpace&lt;/STRONG&gt; value.&lt;/P&gt;

&lt;P&gt;When the occupied space on the cache's partition exceeds &lt;STRONG&gt;max_cache_size,&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;P&gt;The partition's free space falls below (&lt;STRONG&gt;minFreeSpace +eviction_padding),&lt;/STRONG&gt; the cache manager begins to evict data.&lt;/P&gt;

&lt;P&gt;3) To protect recently indexed data from eviction, set cache retention periods based on data recency, use the &lt;STRONG&gt;hotlist_recency_secs&lt;/STRONG&gt; and &lt;STRONG&gt;hotlist_bloom_filter_recency_hours&lt;/STRONG&gt;  &lt;/P&gt;

&lt;P&gt;i)&lt;STRONG&gt;hotlist_recency_secs&lt;/STRONG&gt;  : causes the cache manager to protect buckets that contain recent data over other buckets. When the eviction is necessary, the cache manager will not evict buckets until their configured retention periods have passed, unless all other buckets have already been evicted.&lt;/P&gt;

&lt;P&gt;ii)&lt;STRONG&gt;hotlist_bloom_filter_recency_hours&lt;/STRONG&gt;: To protect metadata files, such as the bloomfilter file from evition. &lt;/P&gt;

&lt;P&gt;The above setting can be implemented On a global level (across all indexes), to favor recently indexed data over recently used data. When configured globally it overrides the eviction policy. If &lt;STRONG&gt;hotlist_recency_secs is set globally to 604800 (7 days),&lt;/STRONG&gt; the cache manager will attempt to retain buckets with data that is less than seven days old. It will instead evict older buckets, even if those older buckets were searched more recently. The cache manager will only evict buckets containing data less than seven days old if there are no older buckets to evict.&lt;/P&gt;

&lt;P&gt;To configure the &lt;STRONG&gt;hotlist_recency_secs&lt;/STRONG&gt; and hotlist_bloom_filter_recency_hours settings globally, for all SmartStore indexes, you must set them in the &lt;STRONG&gt;[cachemanager]&lt;/STRONG&gt; stanza in server.conf.&lt;/P&gt;

&lt;P&gt;During remote store connectivity issue, the bucket will not upload to remote store but will roll to Warm, and due to   &lt;STRONG&gt;hotlist_recency_secs&lt;/STRONG&gt;  and &lt;STRONG&gt;hotlist_bloom_filter_recency_hours&lt;/STRONG&gt;  the recent data will also not get evicted and will be available for searching.. Due to failed eviction eventually, minFreeSpace  will drop indexers will get into Automatic detention.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:47:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/SmartStore-Keep-Splunk-up-while-S3-is-unavailable/m-p/408488#M3586</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2020-09-29T22:47:57Z</dc:date>
    </item>
  </channel>
</rss>

