<?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: Incorrect Instance name after change hostname in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/613316#M10755</link>
    <description>&lt;P&gt;There will be four places in linux that this could be. These are;&lt;BR /&gt;&lt;BR /&gt;/etc/hostname&lt;BR /&gt;/SPLUNK_HOME/etc/system/local/server.conf&lt;BR /&gt;/SPLUNK_HOME/etc/system/local/inputs.conf&lt;BR /&gt;/SPLUNK_HOME/etc/system/local/deploymentclient.conf&lt;BR /&gt;&lt;BR /&gt;server.conf&amp;nbsp;&lt;BR /&gt;[general]&lt;BR /&gt;serverName = whatever&lt;BR /&gt;&lt;BR /&gt;inputs.conf&lt;BR /&gt;host = whatever&lt;BR /&gt;&lt;BR /&gt;deploymentclient.conf&lt;BR /&gt;[deployment-client]&lt;BR /&gt;clientName = whatever&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 20:58:31 GMT</pubDate>
    <dc:creator>willsy</dc:creator>
    <dc:date>2022-09-15T20:58:31Z</dc:date>
    <item>
      <title>How to fix incorrect Instance name after change hostname?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/329427#M4790</link>
      <description>&lt;P&gt;I have problem with change instance name in Splunk.&lt;/P&gt;
&lt;P&gt;In conf files serverName variable is change to new hostname and splunk is restarted.&lt;/P&gt;
&lt;P&gt;Everything is ok, but in, for ex. "Resource Usage: Instance" in "Instance" drop down list i see old hostname.&lt;/P&gt;
&lt;P&gt;I try to find this in all Splunk files (db too) and find it only in \var\lib\splunk\kvstore\mongo\local.0 file.&lt;/P&gt;
&lt;P&gt;What can i do to fix this problem?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 21:02:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/329427#M4790</guid>
      <dc:creator>krzysztofz</dc:creator>
      <dc:date>2022-09-15T21:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Instance name after change hostname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/329428#M4791</link>
      <description>&lt;P&gt;try in etc/system/local/inputs.conf&lt;BR /&gt;
change the host = oldName to newName&lt;BR /&gt;
hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 14:46:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/329428#M4791</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-06-07T14:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Instance name after change hostname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/329429#M4792</link>
      <description>&lt;P&gt;if you change the hostname, you may want to edit the splunk configurations to update it.&lt;/P&gt;

&lt;P&gt;in $SPLUNK_HOME/etc/system/local/inputs.conf&lt;BR /&gt;
the default stanza used for all inputs&lt;BR /&gt;
check for host=something setting that may be the old hostname&lt;/P&gt;

&lt;P&gt;in $SPLUNK_HOME/etc/system/local/server.conf&lt;BR /&gt;
there is a hostname setting, used for the server name (for deployment client, or metrics)&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 19:38:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/329429#M4792</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2017-06-07T19:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Instance name after change hostname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/329430#M4793</link>
      <description>&lt;P&gt;I already edit this files.&lt;/P&gt;

&lt;P&gt;But, i fix this problem in other way...&lt;/P&gt;

&lt;P&gt;In Settings &amp;gt; General Setup i edit Instance (Actions &amp;gt; Edit &amp;gt; Edit Server Roles) and for ex. KV Store for a while.&lt;/P&gt;

&lt;P&gt;After this in Resource Usage etc. i see correct Instance name and stats display correctly now (before fix not).&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 22:11:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/329430#M4793</guid>
      <dc:creator>krzysztofz</dc:creator>
      <dc:date>2017-06-07T22:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Instance name after change hostname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/613316#M10755</link>
      <description>&lt;P&gt;There will be four places in linux that this could be. These are;&lt;BR /&gt;&lt;BR /&gt;/etc/hostname&lt;BR /&gt;/SPLUNK_HOME/etc/system/local/server.conf&lt;BR /&gt;/SPLUNK_HOME/etc/system/local/inputs.conf&lt;BR /&gt;/SPLUNK_HOME/etc/system/local/deploymentclient.conf&lt;BR /&gt;&lt;BR /&gt;server.conf&amp;nbsp;&lt;BR /&gt;[general]&lt;BR /&gt;serverName = whatever&lt;BR /&gt;&lt;BR /&gt;inputs.conf&lt;BR /&gt;host = whatever&lt;BR /&gt;&lt;BR /&gt;deploymentclient.conf&lt;BR /&gt;[deployment-client]&lt;BR /&gt;clientName = whatever&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 20:58:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-fix-incorrect-Instance-name-after-change-hostname/m-p/613316#M10755</guid>
      <dc:creator>willsy</dc:creator>
      <dc:date>2022-09-15T20:58:31Z</dc:date>
    </item>
  </channel>
</rss>

