<?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: Hostname changing on some sources in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11053#M496</link>
    <description>&lt;P&gt;Gerald, can you confirm--setting host=foo as a global parameter in inputs.conf does not make it a global setting.  It is simply the default setting when nothing else sets the host field?  So it looks like this behavior changed between 3.x and 4.x?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Apr 2010 08:22:35 GMT</pubDate>
    <dc:creator>hulahoop</dc:creator>
    <dc:date>2010-04-07T08:22:35Z</dc:date>
    <item>
      <title>Hostname changing on some sources</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11051#M494</link>
      <description>&lt;P&gt;In inputs.conf the default host name is set to the fqdn, test-server.foobar.com. But when I search for that host, it comes up as two hosts: test-server and test-server.foobar.com.&lt;/P&gt;

&lt;P&gt;splunkd.log shows the correct hostname, test-server.foobar.com.&lt;/P&gt;

&lt;P&gt;This started happening after an upgrade from 3.x to 4.x on light weight forwarders, although some LWFs are working correctly.&lt;/P&gt;

&lt;P&gt;It seems to only happen for the cron log and not the other inputs, what could be causing this and what can I do to fix it?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2010 05:59:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11051#M494</guid>
      <dc:creator>Jaci</dc:creator>
      <dc:date>2010-04-07T05:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname changing on some sources</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11052#M495</link>
      <description>&lt;P&gt;Some sourcetypes modify the hostname according to the contents of the file. This happens in particular for syslog sourcetypes. To stop it happening, use another sourcetype, or override the syslog host transform in &lt;CODE&gt;props.conf&lt;/CODE&gt; with either:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog]
TRANSFORMS = 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;for most syslog sourcetypes, or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[postfix_syslog]
TRANSFORMS-host = 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;for the &lt;CODE&gt;postfix_syslog&lt;/CODE&gt; sourcetype. I don't know why that one had to be different.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2010 07:04:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11052#M495</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-04-07T07:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname changing on some sources</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11053#M496</link>
      <description>&lt;P&gt;Gerald, can you confirm--setting host=foo as a global parameter in inputs.conf does not make it a global setting.  It is simply the default setting when nothing else sets the host field?  So it looks like this behavior changed between 3.x and 4.x?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2010 08:22:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11053#M496</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-04-07T08:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname changing on some sources</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11054#M497</link>
      <description>&lt;P&gt;setting &lt;CODE&gt;host=&lt;/CODE&gt; as a global setting will use that unless host is set otherwise in a another input stanza, but this is a different issue and is caused by default &lt;CODE&gt;TRANSFORMS&lt;/CODE&gt; that will ignore/overrride whatever you set &lt;CODE&gt;host=&lt;/CODE&gt; to in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;. I have a suspicion that not all the Forwarders are Light Forwarders.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2010 08:44:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11054#M497</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-04-07T08:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname changing on some sources</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11055#M498</link>
      <description>&lt;P&gt;(Or that not all the forwarders &lt;EM&gt;were&lt;/EM&gt; Light Forwarders at the time of upgrade, and they become Light (again) when upgraded to 4.x and gained a default-mode.conf file.)&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2010 08:45:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11055#M498</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-04-07T08:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname changing on some sources</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11056#M499</link>
      <description>&lt;P&gt;Thank you for the answer and comments....this info was very helpful!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2010 22:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Hostname-changing-on-some-sources/m-p/11056#M499</guid>
      <dc:creator>Jaci</dc:creator>
      <dc:date>2010-04-08T22:21:49Z</dc:date>
    </item>
  </channel>
</rss>

