<?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 host name not showing correctly in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/host-name-not-showing-correctly/m-p/187778#M37489</link>
    <description>&lt;P&gt;I have 9 Splunk servers.  all of them are showing the correct FQDN for the host name.  One system is showing the netbios or short name as the host name.&lt;/P&gt;

&lt;P&gt;I Looked ad the system hostname, in all the outputs and inputs but can not seem to find where Splunk is getting the host  = myserver instead of host = myserver.domain.com.&lt;/P&gt;

&lt;P&gt;Can I use BTOOL to find out where this is comeing from?&lt;BR /&gt;
Can I use BTOOL to find the $decideOnStartup vareable?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jan 2015 20:41:04 GMT</pubDate>
    <dc:creator>hartfoml</dc:creator>
    <dc:date>2015-01-20T20:41:04Z</dc:date>
    <item>
      <title>host name not showing correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/host-name-not-showing-correctly/m-p/187778#M37489</link>
      <description>&lt;P&gt;I have 9 Splunk servers.  all of them are showing the correct FQDN for the host name.  One system is showing the netbios or short name as the host name.&lt;/P&gt;

&lt;P&gt;I Looked ad the system hostname, in all the outputs and inputs but can not seem to find where Splunk is getting the host  = myserver instead of host = myserver.domain.com.&lt;/P&gt;

&lt;P&gt;Can I use BTOOL to find out where this is comeing from?&lt;BR /&gt;
Can I use BTOOL to find the $decideOnStartup vareable?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 20:41:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/host-name-not-showing-correctly/m-p/187778#M37489</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2015-01-20T20:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: host name not showing correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/host-name-not-showing-correctly/m-p/187779#M37490</link>
      <description>&lt;P&gt;All data that is indexed in Splunk has a &lt;CODE&gt;host&lt;/CODE&gt; field. Events will be assigned a default value for &lt;CODE&gt;host&lt;/CODE&gt; if it is not specified in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; at input time. The host value can be overridden at input or parsing time using either &lt;CODE&gt;props.conf&lt;/CODE&gt; or &lt;CODE&gt;transforms.conf&lt;/CODE&gt;. So you really need to examine all of these. And yes, you can use btool for each of them.&lt;/P&gt;

&lt;P&gt;You can't use btool to find the $decideOnStartup variable: are you using this?&lt;/P&gt;

&lt;P&gt;I think that you may be looking for the server name, which is set in &lt;CODE&gt;etc/system/local/server.conf&lt;/CODE&gt; on the indexer. In server.conf, look for this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[general]
serverName = your-default-host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can edit server.conf to change this. Be sure to restart Splunk for the change to take effect.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 04:09:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/host-name-not-showing-correctly/m-p/187779#M37490</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-01-21T04:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: host name not showing correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/host-name-not-showing-correctly/m-p/187780#M37491</link>
      <description>&lt;P&gt;I did find where it was entered using the btool.&lt;/P&gt;

&lt;P&gt;It was under the [default] at the top of inputs.conf in the system/local like this&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[default]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;host = mysystem&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I changed this to:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[default]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;host = mysystem.domain.com&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This fixed the problem&lt;BR /&gt;
Thanks for the help&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:55:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/host-name-not-showing-correctly/m-p/187780#M37491</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2015-01-21T13:55:48Z</dc:date>
    </item>
  </channel>
</rss>

