<?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: Duplicate GUIDs for cloned forwarders - how to correct? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/557203#M18932</link>
    <description>&lt;P&gt;At the time this answer was written, duplicate GUIDs may not have meant anything (before my time working with splunk).&amp;nbsp; When using a deployment server, or looking anything up based on GUID, this becomes pretty important.&amp;nbsp; Please fix this issue by stopping splunk, deleting instance.cfg, and starting splunk:&lt;/P&gt;&lt;P&gt;1. Stop Splunk&lt;/P&gt;&lt;P&gt;2. Delete instance.cfg&lt;/P&gt;&lt;P&gt;(c:\Program Files\Splunk\etc\instance.cfg&lt;/P&gt;&lt;P&gt;c:\Program Files\SplunkUniversalForwarder\etc\instance.cfg&lt;/P&gt;&lt;P&gt;/opt/splunk/etc/instance.cfg&lt;/P&gt;&lt;P&gt;/opt/splunkuniversalforwarder/etc/instance.cfg)&lt;/P&gt;&lt;P&gt;3. Start Splunk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem solved.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW, whatever the root cause, check the server.conf to make sure the system name is correct, otherwise you could have multiple systems sending logs as the same host.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 14:04:13 GMT</pubDate>
    <dc:creator>ckleiman_splunk</dc:creator>
    <dc:date>2021-06-25T14:04:13Z</dc:date>
    <item>
      <title>Duplicate GUIDs for cloned forwarders - how to correct?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92994#M3406</link>
      <description>&lt;P&gt;Have run into a minor problem when cloning virtual machines with a forwarder installed. Unfortunately, the &lt;CODE&gt;guid&lt;/CODE&gt; (globally unique identifier) was not set to empty in &lt;CODE&gt;server.conf&lt;/CODE&gt; prior to cloning, and we've ended up with several forwardes with the same &lt;CODE&gt;guid&lt;/CODE&gt; values. This does not seem to affect anything but some graphs in the Deployment Monitor, e.g. the Forwarder Connections graph on the main page, which is based on a distinct count of &lt;CODE&gt;guids&lt;/CODE&gt;, resulting in a lower reported number of active forwarders than there really are. (NB: the "all forwarders" view in DM shows the correct number of forwarders). There might however be other consequences not yet discovered.&lt;/P&gt;

&lt;P&gt;What I want to do is to manually change the &lt;CODE&gt;guid&lt;/CODE&gt; values for the cloned hosts, but I want to know if the &lt;CODE&gt;guid&lt;/CODE&gt; is just a random string of hex, or if the string actually represents something, like OS version, IP-address, forwarder build #, hostname etc, or if there is some sort of checksum to be taken into account.&lt;/P&gt;

&lt;P&gt;Can I just change the &lt;CODE&gt;guid&lt;/CODE&gt; value in &lt;CODE&gt;server.conf&lt;/CODE&gt; of an already installed forwarder, restart it, and expect it to work fine?&lt;/P&gt;

&lt;P&gt;EDIT: Or even simpler - can I just remove the &lt;CODE&gt;guid&lt;/CODE&gt; value altogheter and restart the forwarder - hoping that it will generate a new &lt;CODE&gt;guid&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;Any help appreciated.&lt;/P&gt;

&lt;P&gt;/Kristian &lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2011 11:06:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92994#M3406</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2011-10-17T11:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate GUIDs for cloned forwarders - how to correct?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92995#M3407</link>
      <description>&lt;P&gt;It doesn't mean anything, but yes you can just delete it and it will be re-generated.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2011 14:49:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92995#M3407</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-10-17T14:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate GUIDs for cloned forwarders - how to correct?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92996#M3408</link>
      <description>&lt;P&gt;I have been through this. Just delete the GUID and restart as it will generate another.&lt;BR /&gt;
Not sure how it is generated though. From what I can recall it has something to do with the&lt;BR /&gt;
license type the hash is based on.&lt;/P&gt;

&lt;P&gt;With license pools it affects your daily indexing volume too. If running two same GUIDS&lt;BR /&gt;
for example you will have double the indexed volume if you cloned the indexer.&lt;/P&gt;

&lt;P&gt;This happened to me when I didn't change the GUID after cloning an instance and starting with a clean index it still doubled the daily indexing volume in license manager.&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2011 17:55:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92996#M3408</guid>
      <dc:creator>ephemeric</dc:creator>
      <dc:date>2011-10-17T17:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate GUIDs for cloned forwarders - how to correct?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92997#M3409</link>
      <description>&lt;P&gt;I ran into this issue as well. But running Splunk 5.0.2 the file was not server.conf. The file was instance.cfg under $SPLUNKHOME/etc. Removing the guid and restarting Splunk still fixed the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 14:54:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92997#M3409</guid>
      <dc:creator>d3</dc:creator>
      <dc:date>2013-08-29T14:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate GUIDs for cloned forwarders - how to correct?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92998#M3410</link>
      <description>&lt;P&gt;Addendum : &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;in splunk 4.*, the GUID was in $SPLUNK_HOME/etc/system/local/server.conf&lt;/LI&gt;
&lt;LI&gt;since splunk 5.*, the GUID is in $SPLUNK_HOME/etc/instance.cfg&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 29 Aug 2013 16:51:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92998#M3410</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-08-29T16:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate GUIDs for cloned forwarders - how to correct?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92999#M3411</link>
      <description>&lt;P&gt;Check out this command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk clone-prep-clear-config
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Apr 2019 13:58:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/92999#M3411</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-16T13:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate GUIDs for cloned forwarders - how to correct?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/93000#M3412</link>
      <description>&lt;P&gt;I tried this on cloned indexers in version 7.3.0 (in my lab) with the same GUID and it worked (deleting instance.cfg)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 17:34:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/93000#M3412</guid>
      <dc:creator>BARNEYRUDD</dc:creator>
      <dc:date>2019-11-25T17:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate GUIDs for cloned forwarders - how to correct?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/557203#M18932</link>
      <description>&lt;P&gt;At the time this answer was written, duplicate GUIDs may not have meant anything (before my time working with splunk).&amp;nbsp; When using a deployment server, or looking anything up based on GUID, this becomes pretty important.&amp;nbsp; Please fix this issue by stopping splunk, deleting instance.cfg, and starting splunk:&lt;/P&gt;&lt;P&gt;1. Stop Splunk&lt;/P&gt;&lt;P&gt;2. Delete instance.cfg&lt;/P&gt;&lt;P&gt;(c:\Program Files\Splunk\etc\instance.cfg&lt;/P&gt;&lt;P&gt;c:\Program Files\SplunkUniversalForwarder\etc\instance.cfg&lt;/P&gt;&lt;P&gt;/opt/splunk/etc/instance.cfg&lt;/P&gt;&lt;P&gt;/opt/splunkuniversalforwarder/etc/instance.cfg)&lt;/P&gt;&lt;P&gt;3. Start Splunk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem solved.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW, whatever the root cause, check the server.conf to make sure the system name is correct, otherwise you could have multiple systems sending logs as the same host.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 14:04:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/557203#M18932</guid>
      <dc:creator>ckleiman_splunk</dc:creator>
      <dc:date>2021-06-25T14:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate GUIDs for cloned forwarders - how to correct?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/616797#M26219</link>
      <description>&lt;P&gt;I am facing similar issue these days with many Servers as Splunk forwarder was installed on Template Server . I was not able to find guid in server.conf however there is surely an instance.cfg . What do you all recommend . Should I try below command OR just remove the instance.cfg file .However those cloned serves are getting wrong host name as well so I need to remove two things .&lt;/P&gt;&lt;PRE&gt;$SPLUNK_HOME/bin/splunk clone-prep-clear-config&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 10:01:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Duplicate-GUIDs-for-cloned-forwarders-how-to-correct/m-p/616797#M26219</guid>
      <dc:creator>ssubhani</dc:creator>
      <dc:date>2022-10-12T10:01:43Z</dc:date>
    </item>
  </channel>
</rss>

