<?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 Sanity check on Indexer cluster with differing peer-apps/indexes.conf &amp;amp; system/local/indexes.conf? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Sanity-check-on-Indexer-cluster-with-differing-peer-apps-indexes/m-p/646380#M16543</link>
    <description>&lt;P&gt;Sanity check please re: Splunk indexer remote storage configuration&lt;/P&gt;
&lt;P&gt;(1) Our indexers are set up in a clustered environment, and originally frozen buckets were moved to a local external location using coldToFrozenPath.&lt;/P&gt;
&lt;P&gt;(2) We are now trying to use a script to have all frozen buckets written to AWS, and &amp;nbsp;the app containing the updated indexes.conf was distributed using the master node&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Script to move / freeze buckets to AWS is working, validated again by checking date / time stamps of last written files&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;(3) However, we are STILL getting "duplicate" buckets being written to the local storage instance, even though everything SHOULD only be written to AWS&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;When looking at the pertinent indexes in the web GUI, the Frozen Path is still set, even though it has been removed completely from the deployed app's indexes.conf, and verified on the indexers in &lt;STRONG&gt;/peer-apps/xxxx/local/indexes.conf&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Trying to manually remove the frozen path in the GUI doesn't work, "not allowed in a clustered environment"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;(4) When trying to find out the 5W's, I've noticed that there is an &lt;STRONG&gt;/opt/splunk/etc/system/local/indexes.conf&lt;/STRONG&gt; that ALSO exists on each indexer, and this version still uses the Frozen Path to the local storage.&lt;/P&gt;
&lt;P&gt;Question:&lt;/P&gt;
&lt;P&gt;Since the deployed peer-apps indexes.conf with the script does seem to be working correctly, is it safe (relative) for me to remove the /system/local/indexes.conf?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 13:39:14 GMT</pubDate>
    <dc:creator>bamflpn</dc:creator>
    <dc:date>2023-06-09T13:39:14Z</dc:date>
    <item>
      <title>Sanity check on Indexer cluster with differing peer-apps/indexes.conf &amp; system/local/indexes.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Sanity-check-on-Indexer-cluster-with-differing-peer-apps-indexes/m-p/646380#M16543</link>
      <description>&lt;P&gt;Sanity check please re: Splunk indexer remote storage configuration&lt;/P&gt;
&lt;P&gt;(1) Our indexers are set up in a clustered environment, and originally frozen buckets were moved to a local external location using coldToFrozenPath.&lt;/P&gt;
&lt;P&gt;(2) We are now trying to use a script to have all frozen buckets written to AWS, and &amp;nbsp;the app containing the updated indexes.conf was distributed using the master node&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Script to move / freeze buckets to AWS is working, validated again by checking date / time stamps of last written files&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;(3) However, we are STILL getting "duplicate" buckets being written to the local storage instance, even though everything SHOULD only be written to AWS&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;When looking at the pertinent indexes in the web GUI, the Frozen Path is still set, even though it has been removed completely from the deployed app's indexes.conf, and verified on the indexers in &lt;STRONG&gt;/peer-apps/xxxx/local/indexes.conf&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Trying to manually remove the frozen path in the GUI doesn't work, "not allowed in a clustered environment"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;(4) When trying to find out the 5W's, I've noticed that there is an &lt;STRONG&gt;/opt/splunk/etc/system/local/indexes.conf&lt;/STRONG&gt; that ALSO exists on each indexer, and this version still uses the Frozen Path to the local storage.&lt;/P&gt;
&lt;P&gt;Question:&lt;/P&gt;
&lt;P&gt;Since the deployed peer-apps indexes.conf with the script does seem to be working correctly, is it safe (relative) for me to remove the /system/local/indexes.conf?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 13:39:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Sanity-check-on-Indexer-cluster-with-differing-peer-apps-indexes/m-p/646380#M16543</guid>
      <dc:creator>bamflpn</dc:creator>
      <dc:date>2023-06-09T13:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Indexer cluster with differing peer-apps/indexes.conf &amp; system/local/indexes.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Sanity-check-on-Indexer-cluster-with-differing-peer-apps-indexes/m-p/646396#M16544</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/257591"&gt;@bamflpn&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The peer-apps/xxx/local directory has higher precedence than etc/system/local on indexers.&lt;/P&gt;&lt;P&gt;(see docs:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Wheretofindtheconfigurationfiles#Precedence_within_global_context.2C_indexer_cluster_peers_only" target="_self"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Wheretofindtheconfigurationfiles#Precedence_within_global_context.2C_indexer_cluster_peers_only&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;To confirm the location of the setting that's overwriting your&amp;nbsp;&lt;SPAN&gt;coldToFrozenPath, you can run btool on your indexers:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;./splunk btool indexes list --debug | grep coldToFrozenPath&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That should print out each line of all indexes.conf on the host that contribute to the final indexes config for the coldToFrozen option.&lt;/P&gt;&lt;P&gt;Find the line that has the wrong value and that's the file that you should update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to delete the system/local/indexes.conf file you should first check what it's doing.&lt;/P&gt;&lt;P&gt;To see what other config is being used from system/local/indexes.conf you can run:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./splunk btool indexes list --debug | grep system/local&lt;/LI-CODE&gt;&lt;P&gt;Any config that is listed will be applied to that indexer from the system/local/indexes.conf file. Either move the config to a peer-apps app, or just remove it if you don't need it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:22:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Sanity-check-on-Indexer-cluster-with-differing-peer-apps-indexes/m-p/646396#M16544</guid>
      <dc:creator>danspav</dc:creator>
      <dc:date>2023-06-09T00:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Indexer cluster with differing peer-apps/indexes.conf &amp; system/local/indexes.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Sanity-check-on-Indexer-cluster-with-differing-peer-apps-indexes/m-p/646660#M16562</link>
      <description>&lt;P&gt;Sir:&lt;/P&gt;&lt;P&gt;Perfect, thank you very much.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Comparing the grep'ed results for system/local coldToFrozenDir vs peer-apps coldToFrozenScript showed me the ones I missed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 13:27:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Sanity-check-on-Indexer-cluster-with-differing-peer-apps-indexes/m-p/646660#M16562</guid>
      <dc:creator>bamflpn18</dc:creator>
      <dc:date>2023-06-12T13:27:10Z</dc:date>
    </item>
  </channel>
</rss>

