<?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: universal forwarder mishandles serverName in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95800#M3540</link>
    <description>&lt;P&gt;The title of the bug does not reflect every facet of the issue.&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2011 17:32:48 GMT</pubDate>
    <dc:creator>ftk</dc:creator>
    <dc:date>2011-05-06T17:32:48Z</dc:date>
    <item>
      <title>universal forwarder mishandles serverName</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95796#M3536</link>
      <description>&lt;P&gt;I am running Splunk Server and Universal Forwarder 4.2.1 98164.  The config file "/opt/splunkforwarder/etc/system/local/server.conf" has the entry "serverName = nascpmpa1dr".  This seems to work as the results of "/opt/splunkforwarder/bin/splunk show servername" give the proper result, "Server name: nascpmpa1dr".  But my Indexer sees the server as "nascpmpa1", which in what my linux servers $HOSTNAME is set to.  DNS resolves "nascpmpa1dr".  I have this setup with several linux servers using Splunk Light Forwarder 4.1 and they all give the hostname with the DR appended.  Why does the Indexer file the syslog and warn logs under host="nascpmpa1" and not "nascpmpa1dr"?   Why act differently between SLF 4.1 and UF 4.2.1?&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2011 17:51:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95796#M3536</guid>
      <dc:creator>arthurhamm</dc:creator>
      <dc:date>2011-05-05T17:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: universal forwarder mishandles serverName</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95797#M3537</link>
      <description>&lt;P&gt;The universal forwarder does behave differently in 4.2.0 and 4.2.1 than a Light/Heavy Forwarder did in 4.1.x (SPL-38141, check the &lt;A href="http://www.splunk.com/base/Documentation/latest/ReleaseNotes/Knownissues"&gt;Known Issues&lt;/A&gt;). Work is under way to resolve this issue.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2011 20:47:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95797#M3537</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2011-05-05T20:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: universal forwarder mishandles serverName</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95798#M3538</link>
      <description>&lt;P&gt;The entry in server.conf is used &lt;EM&gt;only&lt;/EM&gt; for identifying indexers when Splunk distributed searches is used. It has nothing to do with how data is marked with a host name when it is indexed. (It is used to populate the &lt;CODE&gt;splunk_server&lt;/CODE&gt; field in results, but this is added at search time by the distributed indexer returning results.)&lt;/P&gt;

&lt;P&gt;It has no relationship or effect on forwarding or indexing of data. For that you need to look at the &lt;CODE&gt;host&lt;/CODE&gt; setting for an input in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;. If this is unspecified for an input, then 4.2.x uses the output of the &lt;CODE&gt;hostname&lt;/CODE&gt; command. If unspecified, then 4.1.x and down uses the IP address, &lt;STRONG&gt;but&lt;/STRONG&gt; 4.1.x sets a local default on first-time run to the results of the &lt;CODE&gt;hostname&lt;/CODE&gt; command at the time of first-time run. You can use btool to see if &lt;CODE&gt;host&lt;/CODE&gt; is set for a particular input.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Update: Additionally, the default value for serverName in server.conf (remember, it is not relevant except for distributed search internal to Splunk) uses the value of either &lt;CODE&gt;$HOSTNAME&lt;/CODE&gt; or &lt;CODE&gt;$HOSTNAME-$USER&lt;/CODE&gt; depending on version, which may not be the same as the results of &lt;CODE&gt;hostname&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2011 23:46:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95798#M3538</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-05-05T23:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: universal forwarder mishandles serverName</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95799#M3539</link>
      <description>&lt;P&gt;All my hostnames are in lowercase. And the clipping of the "dr" off the names makes me think it not this bug.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2011 16:59:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95799#M3539</guid>
      <dc:creator>arthurhamm</dc:creator>
      <dc:date>2011-05-06T16:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: universal forwarder mishandles serverName</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95800#M3540</link>
      <description>&lt;P&gt;The title of the bug does not reflect every facet of the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2011 17:32:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95800#M3540</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2011-05-06T17:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: universal forwarder mishandles serverName</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95801#M3541</link>
      <description>&lt;P&gt;Universal Forwarder 4.2.1 98164 release notes lists SPL-38141 as a resolved issue.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.2.1/ReleaseNotes/4.2.1"&gt;http://www.splunk.com/base/Documentation/4.2.1/ReleaseNotes/4.2.1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2011 17:40:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95801#M3541</guid>
      <dc:creator>arthurhamm</dc:creator>
      <dc:date>2011-05-09T17:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: universal forwarder mishandles serverName</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95802#M3542</link>
      <description>&lt;P&gt;That's funny as it is listed under the known issues (data inputs) as well. No idea which one is correct.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2011 19:26:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95802#M3542</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2011-05-09T19:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: universal forwarder mishandles serverName</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95803#M3543</link>
      <description>&lt;P&gt;Would you say it's safe to delete/replace the &lt;CODE&gt;/etc/system/local/server.conf&lt;/CODE&gt; right after installing UF (before it's started for the first time)? &lt;/P&gt;

&lt;P&gt;The reason is that we want to set some SSL configuration for connecting to the deployment server, and it seems easy to just drop in a pre-made &lt;CODE&gt;server.conf&lt;/CODE&gt; (which naturally does not contain the &lt;CODE&gt;serverName&lt;/CODE&gt; at all).&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2012 09:04:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95803#M3543</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-06-04T09:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: universal forwarder mishandles serverName</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95804#M3544</link>
      <description>&lt;P&gt;provided your pre-made file doesn't contain the guid or serverName entries, it should be fine. Splunk will generate a new guid for the forwarder if one is missing (i suppose you could live with all of them having the same guid, but it may cause reporting and other problems.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2012 15:52:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95804#M3544</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-06-04T15:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: universal forwarder mishandles serverName</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95805#M3545</link>
      <description>&lt;P&gt;Thanks! No, having duplicate GUIDs could be a ton of hassle. Been down that road... Just wanted to be sure that the lack of a &lt;CODE&gt;serverName&lt;/CODE&gt; entry would not cause unforseen issues.  Thanks again.&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2012 17:40:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/universal-forwarder-mishandles-serverName/m-p/95805#M3545</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-06-04T17:40:58Z</dc:date>
    </item>
  </channel>
</rss>

