<?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: How to set host in inputs.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162533#M32997</link>
    <description>&lt;P&gt;I don't want to extract the hostname from the syslog event, the hostname is localhost and it's not correct.  I know the event came from a specific server so I'm trying to replace the hostname with the specific server name.  Putting host=server1 in inputs.conf changes some of the records but not all.  What can I do to change all of them.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jul 2014 16:27:37 GMT</pubDate>
    <dc:creator>plj3736</dc:creator>
    <dc:date>2014-07-30T16:27:37Z</dc:date>
    <item>
      <title>How to set host in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162530#M32994</link>
      <description>&lt;P&gt;I'm getting data in syslog format with the host set to localhost.  I know what server this is coming from but don't have authority to change the hostname at the server.  The data is being put into a directory on my local server, not through UDP or TCP transfer.  Here's what I have in inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor:///home/Analysis/tc-1/server1/*.gz]&lt;BR /&gt;
index=tc-1&lt;BR /&gt;
host=server1&lt;BR /&gt;
disabled=false&lt;/P&gt;

&lt;P&gt;I've tried this both with and without sourcetype=syslog as added input here.  A few of the records come in as host of server1 but most have localhost listed as the source.  Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2014 23:31:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162530#M32994</guid>
      <dc:creator>plj3736</dc:creator>
      <dc:date>2014-07-29T23:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to set host in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162531#M32995</link>
      <description>&lt;P&gt;Splunk automatically extracts the host from syslog events, overwriting the setting from inputs.conf because usually the event is more accurate than using the central syslog daemon's host.&lt;/P&gt;

&lt;P&gt;To avoid that happening to your events you could set a different sourcetype than syslog.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2014 23:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162531#M32995</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-07-29T23:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to set host in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162532#M32996</link>
      <description>&lt;P&gt;I don't want to extract the hostname from the syslog event, the hostname is localhost and it's not correct.  I know the event came from a specific server so I'm trying to replace the hostname with the specific server name.  Putting host=server1 in inputs.conf changes some of the records but not all.  What can I do to change all of them.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 16:27:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162532#M32996</guid>
      <dc:creator>plj3736</dc:creator>
      <dc:date>2014-07-30T16:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to set host in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162533#M32997</link>
      <description>&lt;P&gt;I don't want to extract the hostname from the syslog event, the hostname is localhost and it's not correct.  I know the event came from a specific server so I'm trying to replace the hostname with the specific server name.  Putting host=server1 in inputs.conf changes some of the records but not all.  What can I do to change all of them.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 16:27:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162533#M32997</guid>
      <dc:creator>plj3736</dc:creator>
      <dc:date>2014-07-30T16:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to set host in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162534#M32998</link>
      <description>&lt;P&gt;I don't want to extract the hostname from the syslog event, the hostname is localhost and it's not correct.  I know the event came from a specific server so I'm trying to replace the hostname with the specific server name.  Putting host=server1 in inputs.conf changes some of the records but not all.  What can I do to change all of them.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 16:28:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162534#M32998</guid>
      <dc:creator>plj3736</dc:creator>
      <dc:date>2014-07-30T16:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to set host in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162535#M32999</link>
      <description>&lt;P&gt;you cant change them now, you need to delete them all and re-index if you require single  host name.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 17:13:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-host-in-inputs-conf/m-p/162535#M32999</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-07-30T17:13:54Z</dc:date>
    </item>
  </channel>
</rss>

