<?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: After upgrading to Splunk 5, hostname field is incorrectly extracted in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/After-upgrading-to-Splunk-5-hostname-field-is-incorrectly/m-p/46042#M8666</link>
    <description>&lt;P&gt;What is your sourcetype? &lt;BR /&gt;
 by default the syslog sourcetype extract the host from the events.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Nov 2012 16:23:42 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2012-11-27T16:23:42Z</dc:date>
    <item>
      <title>After upgrading to Splunk 5, hostname field is incorrectly extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-upgrading-to-Splunk-5-hostname-field-is-incorrectly/m-p/46041#M8665</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I've been running Splunk 4 for about 2 years now, and I've been feeding it using syslog-ng to aggregate and filter incoming logs from remote hosts. This worked wonderfully, as long as we used the "keep_hostname(yes)" option in syslog-ng. &lt;/P&gt;

&lt;P&gt;Now that I've upgraded to Splunk 5, Splunk appears to be setting the hostname field in search to the hostname of the log aggregator, not the original host. So now I've got 3 sets of timestamps, 2 hostnames in the log message itself, and an incorrect host field extraction. &lt;/P&gt;

&lt;P&gt;How can I get Splunk to properly handle relayed syslog data, and properly extract the fields from the logs? &lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 15:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-upgrading-to-Splunk-5-hostname-field-is-incorrectly/m-p/46041#M8665</guid>
      <dc:creator>awaite_youzee</dc:creator>
      <dc:date>2012-11-27T15:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 5, hostname field is incorrectly extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-upgrading-to-Splunk-5-hostname-field-is-incorrectly/m-p/46042#M8666</link>
      <description>&lt;P&gt;What is your sourcetype? &lt;BR /&gt;
 by default the syslog sourcetype extract the host from the events.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 16:23:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-upgrading-to-Splunk-5-hostname-field-is-incorrectly/m-p/46042#M8666</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-11-27T16:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 5, hostname field is incorrectly extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-upgrading-to-Splunk-5-hostname-field-is-incorrectly/m-p/46043#M8667</link>
      <description>&lt;P&gt;yes, I set the sourcetype to be "syslog", but it's extracting the hostname of the log aggregator, not the hostname of the source of the log message.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 16:32:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-upgrading-to-Splunk-5-hostname-field-is-incorrectly/m-p/46043#M8667</guid>
      <dc:creator>awaite_youzee</dc:creator>
      <dc:date>2012-11-27T16:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 5, hostname field is incorrectly extracted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-upgrading-to-Splunk-5-hostname-field-is-incorrectly/m-p/46044#M8668</link>
      <description>&lt;P&gt;I have found a solution which works! &lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/5694/central-syslog-ng-server-extra-headers-and-field-extraction"&gt;http://splunk-base.splunk.com/answers/5694/central-syslog-ng-server-extra-headers-and-field-extraction&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2012 11:39:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-upgrading-to-Splunk-5-hostname-field-is-incorrectly/m-p/46044#M8668</guid>
      <dc:creator>awaite_youzee</dc:creator>
      <dc:date>2012-11-29T11:39:36Z</dc:date>
    </item>
  </channel>
</rss>

