<?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: Where are login credentials to peers stored? And why bin/scripts/ is deleted after upgrading? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Where-are-login-credentials-to-peers-stored-And-why-bin-scripts/m-p/756201#M23556</link>
    <description>&lt;P&gt;Oh, really thanks. I was worried about this behavious. Luckily we have daily backups. Next we create a custom app to deploy them to &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;i really miss this security feature &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Dec 2025 13:41:59 GMT</pubDate>
    <dc:creator>verbal_666</dc:creator>
    <dc:date>2025-12-05T13:41:59Z</dc:date>
    <item>
      <title>Where are login credentials to peers stored? And why bin/scripts/ is deleted after upgrading?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Where-are-login-credentials-to-peers-stored-And-why-bin-scripts/m-p/756198#M23553</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;QUESTION #1: search peer login credentials&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;In previous versions, i'm talking about v7 and/or v8, in my memory, login credential to search peers were stored into filesystem, inside /var/... in some files named search_peer#1.something,&amp;nbsp;search_peer#2.something etc..&lt;/P&gt;&lt;P&gt;Now i upgraded to 9.4 version, and can't find them anymore. Where are credentials stored? In KVSTORE?&lt;/P&gt;&lt;P&gt;I ask this question since today i need to untar a 9.4 version over a same 9.4 version to take some files a user deleted for error🤦‍&lt;span class="lia-unicode-emoji" title=":male_sign:"&gt;♂️&lt;/span&gt;and after doing it, it was a searchpeer/indexer, on the SearchHead and Deployer (Management Console) the peer was &lt;STRONG&gt;DOWN&lt;/STRONG&gt;, i needed to reinsert the login credential again as first time to make it &lt;STRONG&gt;UP &amp;amp; Healthy&lt;/STRONG&gt; again.&lt;/P&gt;&lt;P&gt;Is it for security or is it a bug? I remember i need to do it also months ago when we upgraded 9.3 to 9.4!!! After upgrading, all peer credentials was gone. I thought it was a temporary bug, but now it seems to be the normal behaviour: reinstalling an instance, over the same, removes all previous registered credentials for searchpeers?&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;QUESTION #2: Splunk upgrading removes all&amp;nbsp;$SPLUNK_HOME/bin/scripts/&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;And, also, after upgrading, all out custom scripts in $SPLUNK_HOME/bin/scripts/ was totally deleted, SPLUNK UPGRADER remove all of them, i found only the "readme.txt", we had something like 50 custom scripts, all gone&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;&amp;nbsp;obviously we have a backup!!! But&amp;nbsp;is it normal???&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 14:33:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Where-are-login-credentials-to-peers-stored-And-why-bin-scripts/m-p/756198#M23553</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2025-12-05T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Where are login credentials to peers stored? And why bin/scripts/ is deleted after upgrading?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Where-are-login-credentials-to-peers-stored-And-why-bin-scripts/m-p/756199#M23554</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/28550"&gt;@verbal_666&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding Question 2 - It is expected behaviour that scripts not in the manifest file are deleted during an upgrade.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is a security enhancement in 9.1.5, 9.2.3, 9.3.5 or 9.4.0 and above.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Scripts should really be placed within a custom app in&amp;nbsp;$SPLUNK_HOME/etc/apps/&amp;lt;app_name&amp;gt;/bin/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check out&amp;nbsp;&lt;A href="https://splunk.my.site.com/customer/s/article/Shell-scripts-are-missing-after-upgrading-the-HF-to-v9-2-3" target="_blank"&gt;https://splunk.my.site.com/customer/s/article/Shell-scripts-are-missing-after-upgrading-the-HF-to-v9-2-3&lt;/A&gt;&amp;nbsp;for more info on this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 13:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Where-are-login-credentials-to-peers-stored-And-why-bin-scripts/m-p/756199#M23554</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-12-05T13:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Where are login credentials to peers stored? And why bin/scripts/ is deleted after upgrading?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Where-are-login-credentials-to-peers-stored-And-why-bin-scripts/m-p/756201#M23556</link>
      <description>&lt;P&gt;Oh, really thanks. I was worried about this behavious. Luckily we have daily backups. Next we create a custom app to deploy them to &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;i really miss this security feature &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 13:41:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Where-are-login-credentials-to-peers-stored-And-why-bin-scripts/m-p/756201#M23556</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2025-12-05T13:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Where are login credentials to peers stored? And why bin/scripts/ is deleted after upgrading?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Where-are-login-credentials-to-peers-stored-And-why-bin-scripts/m-p/756205#M23557</link>
      <description>&lt;P&gt;Gosh!&lt;BR /&gt;I think i did a mistake for Question#1.&lt;BR /&gt;The credentials/keys are stored in every searchpeer path dir "&lt;EM&gt;&lt;STRONG&gt;$SPLUNK_HOME/etc/auth/distServerKeys/search_peer#x/&lt;/STRONG&gt;&lt;/EM&gt;", inside where you can find all the kets... i did confusion with &lt;EM&gt;var&lt;/EM&gt; &lt;span class="lia-unicode-emoji" title=":sneezing_face:"&gt;🤧&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the files the user deleted, since i need a full reinstall, were at fact inside&amp;nbsp;&lt;EM&gt;$SPLUNK_HOME/etc/&lt;/EM&gt; (the user removed for an error &lt;span class="lia-unicode-emoji" title=":frowning_face:"&gt;☹️&lt;/span&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_frowning_face:"&gt;🙁&lt;/span&gt;&amp;nbsp;all the &lt;EM&gt;etc&lt;/EM&gt; in &lt;STRONG&gt;$SPLUNK_HOME&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;So, there's no mistery at all. He deleted all previous recorded keys the peer stored when called from SearchHead. So it really needed to recreate them, they were gone&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confounded_face:"&gt;😖&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sorry, problem solved!!! My fault...&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":expressionless_face:"&gt;😑&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 14:30:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Where-are-login-credentials-to-peers-stored-And-why-bin-scripts/m-p/756205#M23557</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2025-12-05T14:30:41Z</dc:date>
    </item>
  </channel>
</rss>

