<?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: Wrong instance name after migrating to a new server in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280940#M2633</link>
    <description>&lt;P&gt;hi,&lt;BR /&gt;
i got the same Issue. for me works following workaround.&lt;BR /&gt;
doublecheck the instanzename in $SPLUNK_HOME/etc/system/local/server.conf (same as Hostname)&lt;BR /&gt;
then click on &amp;gt;SETTINGS&amp;gt;MONITORING_CONSOLE&lt;BR /&gt;
MONITORING_CONSOLE is showing&lt;BR /&gt;
---click SETTINGS &amp;gt;GENERAL_Setup&lt;BR /&gt;
---THIS instance &lt;BR /&gt;
Instance (host) = hostname value, etc&lt;BR /&gt;
on the top, press  "apply changes" verify "YES" (maybe etdit roles temporärly)  IMPORTANT press REFRESH&lt;BR /&gt;
doublecheck Overwie on MC &lt;BR /&gt;
DONE! &lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:57:43 GMT</pubDate>
    <dc:creator>ThomasControlwa</dc:creator>
    <dc:date>2020-09-29T15:57:43Z</dc:date>
    <item>
      <title>Wrong instance name after migrating to a new server</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280934#M2627</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Some month of we moved our Splunk Instance to a new server. The old server was named HQCHMOSS* and the new one is HQCHSPLUNK*. Everything is working fine, but some dashboard such the "Indexing Performance: Instance" in the "Distributed Management Console", the instance list is still displaying the old server name instead of the new one. Therfore the reports shows nothing.&lt;/P&gt;

&lt;P&gt;It seems the old server is quite sealed somewhere but where ?&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 12:30:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280934#M2627</guid>
      <dc:creator>madsurfer</dc:creator>
      <dc:date>2016-07-26T12:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong instance name after migrating to a new server</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280935#M2628</link>
      <description>&lt;P&gt;In the gui, look at Settings &amp;gt; Server settings &amp;gt; General Settings and make sure the Splunk Server Name and the Default Host Name are correct.&lt;/P&gt;

&lt;P&gt;if you have command line access, you can try using btool and locate the old server name:&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/bin/splunk btool server list --debug &lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 08:33:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280935#M2628</guid>
      <dc:creator>sheron_splunk</dc:creator>
      <dc:date>2016-07-27T08:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong instance name after migrating to a new server</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280936#M2629</link>
      <description>&lt;P&gt;Thank you Sheron.,&lt;/P&gt;

&lt;P&gt;I just used your commandline and the "serverName" configured in the server.conf, is set to the new server name.&lt;/P&gt;

&lt;P&gt;In fact, everything indexed by this machine is correctly stamped with host=[CORRRECTSERVERNAME] . I am facing only a issue with the Distributed Management Console which is listing the instances with the incorrect/previous naming.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;David Campillo&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 12:28:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280936#M2629</guid>
      <dc:creator>madsurfer</dc:creator>
      <dc:date>2016-07-27T12:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong instance name after migrating to a new server</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280937#M2630</link>
      <description>&lt;P&gt;I was able to get my DMC working correctly by using the Reset All Settings button in the DMC &amp;gt; Settings &amp;gt; General Settings menu. This did reset everything else in DMC but it's working properly now. &lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 17:30:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280937#M2630</guid>
      <dc:creator>suamme1</dc:creator>
      <dc:date>2016-09-29T17:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong instance name after migrating to a new server</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280938#M2631</link>
      <description>&lt;P&gt;I downvoted this post because there needs to be a better way to accomplish this.  for a small/new environment this is fine but when you have 50+ devices this isn't a viable solution.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 10:24:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280938#M2631</guid>
      <dc:creator>ppeterson</dc:creator>
      <dc:date>2017-04-04T10:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong instance name after migrating to a new server</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280939#M2632</link>
      <description>&lt;P&gt;After making changes and letting them persist for awhile I restarted the DMC - this did not change the instance name to the configured new instance name even after a restart of the DMC.  I then applied all changes - and that did the trick!&lt;/P&gt;

&lt;P&gt;Apply Changes on DMC -&amp;gt; Settings -&amp;gt; General Setup&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 10:29:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280939#M2632</guid>
      <dc:creator>ppeterson</dc:creator>
      <dc:date>2017-04-04T10:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong instance name after migrating to a new server</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280940#M2633</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;
i got the same Issue. for me works following workaround.&lt;BR /&gt;
doublecheck the instanzename in $SPLUNK_HOME/etc/system/local/server.conf (same as Hostname)&lt;BR /&gt;
then click on &amp;gt;SETTINGS&amp;gt;MONITORING_CONSOLE&lt;BR /&gt;
MONITORING_CONSOLE is showing&lt;BR /&gt;
---click SETTINGS &amp;gt;GENERAL_Setup&lt;BR /&gt;
---THIS instance &lt;BR /&gt;
Instance (host) = hostname value, etc&lt;BR /&gt;
on the top, press  "apply changes" verify "YES" (maybe etdit roles temporärly)  IMPORTANT press REFRESH&lt;BR /&gt;
doublecheck Overwie on MC &lt;BR /&gt;
DONE! &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:57:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280940#M2633</guid>
      <dc:creator>ThomasControlwa</dc:creator>
      <dc:date>2020-09-29T15:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong instance name after migrating to a new server</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280941#M2634</link>
      <description>&lt;P&gt;I was having trouble with this too. In my home lab I decided to modify the default hostname under the Index settings (Server settings » General settings) and my monitoring console was still showing the old hostname when I was trying to check my index usage under "Indexes and Volumes: Instance" no matter how many times I applied the change.&lt;/P&gt;

&lt;P&gt;I was curious If I could locate this string within the file system so I grep for the string "splunk-3" (my old instance name):&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;grep -rnw "/opt/splunk/" -e "splunk-3"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;This returned a few notable entries:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;51,3463,completed,"0.715357022","1514786400.000000000","1514874115.000000000",,"1514786400.000000000","1514874115.000000000",,,,,,,,,,,,,,,,,&lt;BR /&gt;
/opt/splunk/etc/apps/splunk_monitoring_console/lookups/assets.csv:2:localhost,"splunk-3","splunk-3","splunk-3","dmc_group_indexer",,,,,&lt;BR /&gt;
/opt/splunk/etc/apps/splunk_monitoring_console/lookups/assets.csv:3:localhost,"splunk-3","splunk-3","splunk-3","dmc_group_kv_store",,,,,&lt;BR /&gt;
/opt/splunk/etc/apps/splunk_monitoring_console/lookups/assets.csv:4:localhost,"splunk-3","splunk-3","splunk-3","dmc_group_license_master",,,,,&lt;BR /&gt;
/opt/splunk/etc/apps/splunk_monitoring_console/lookups/assets.csv:5:localhost,"splunk-3","splunk-3","splunk-3","dmc_group_search_head",,,,,&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Decided to replace "splunk-3" with my new hostname "&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;nano /opt/splunk/etc/apps/splunk_monitoring_console/lookups/assets.csv&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;peerURI,serverName,host,machine,"search_group","&lt;STRONG&gt;mv_peerURI","&lt;/STRONG&gt;mv_serverName","&lt;STRONG&gt;mv_host","&lt;/STRONG&gt;mv_machine","__mv_search_group"&lt;BR /&gt;
localhost,"splunk-index1","splunk-index1","splunk-index1","dmc_group_indexer",,,,,&lt;BR /&gt;
localhost,"splunk-index1","splunk-index1","splunk-index1","dmc_group_kv_store",,,,,&lt;BR /&gt;
localhost,"splunk-index1","splunk-index1","splunk-index1","dmc_group_license_master",,,,,&lt;BR /&gt;
localhost,"splunk-index1","splunk-index1","splunk-index1","dmc_group_search_head",,,,,&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Returned to the monitoring console and refreshed the page, monitoring console is working as intended. &lt;STRONG&gt;Keep in mind I am using a trial license in my home lab&lt;/STRONG&gt; and don't suggest doing this in a prod environment without proper testing... Finished by restarting Splunk and verifying still getting data in and indexing properly. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280941#M2634</guid>
      <dc:creator>ghaas</dc:creator>
      <dc:date>2020-09-29T17:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong instance name after migrating to a new server</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280942#M2635</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
try my Workaround, thats worked for me very well.&lt;/P&gt;

&lt;P&gt;doublecheck the instanzename in $SPLUNK_HOME/etc/system/local/server.conf (same as Hostname)&lt;BR /&gt;
then click on &amp;gt;SETTINGS&amp;gt;MONITORING_CONSOLE&lt;BR /&gt;
MONITORING_CONSOLE is showing&lt;BR /&gt;
---click SETTINGS &amp;gt;GENERAL_Setup&lt;BR /&gt;
---THIS instance &lt;BR /&gt;
Instance (host) = hostname value, etc&lt;BR /&gt;
on the top, press "apply changes" verify "YES" (maybe etdit roles temporärly) IMPORTANT press REFRESH&lt;BR /&gt;
doublecheck Overwie on MC &lt;BR /&gt;
DONE!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:39:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280942#M2635</guid>
      <dc:creator>ThomasControlwa</dc:creator>
      <dc:date>2020-09-29T17:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong instance name after migrating to a new server</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280943#M2636</link>
      <description>&lt;P&gt;Thankyou everyone that's posted a response here, you gave me various options and areas to check that I'd renamed my server correctly.  However I still had no license usage reports as the license master was still finding the old servername somewhere.&lt;/P&gt;

&lt;P&gt;The final piece for me was finding the entries in the assets.csv file which corrected the license master name in the Monitoring Console dash/reports....&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 17:28:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Wrong-instance-name-after-migrating-to-a-new-server/m-p/280943#M2636</guid>
      <dc:creator>joelsatterley</dc:creator>
      <dc:date>2020-01-30T17:28:53Z</dc:date>
    </item>
  </channel>
</rss>

