<?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: Changing host for syslog in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Changing-host-for-syslog/m-p/48913#M9280</link>
    <description>&lt;P&gt;You can utilize props and transforms to grab the host metadata, before it is changed and assign it to a new field.  Here is an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# -- props.conf
[sourcetype]
TRANSFORMS-fwd_host = forwarder_host

# -- transforms.conf
[forwarder_host]
SOURCE_KEY = MetaData:Host
REGEX = host::(.*)
DEST_KEY = _meta
FORMAT = forwarder::$1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 29 Nov 2012 14:41:28 GMT</pubDate>
    <dc:creator>sbrant_splunk</dc:creator>
    <dc:date>2012-11-29T14:41:28Z</dc:date>
    <item>
      <title>Changing host for syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Changing-host-for-syslog/m-p/48912#M9279</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have syslog messages coming in from thousands of servers, and I'm using splunk to index those messages. The messages are duplicated across 3 regional servers. I need the ability to show the forwarder that processed the event. How do I do that, since I change the hostname to be the network device? &lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2012 14:36:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Changing-host-for-syslog/m-p/48912#M9279</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2012-11-29T14:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Changing host for syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Changing-host-for-syslog/m-p/48913#M9280</link>
      <description>&lt;P&gt;You can utilize props and transforms to grab the host metadata, before it is changed and assign it to a new field.  Here is an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# -- props.conf
[sourcetype]
TRANSFORMS-fwd_host = forwarder_host

# -- transforms.conf
[forwarder_host]
SOURCE_KEY = MetaData:Host
REGEX = host::(.*)
DEST_KEY = _meta
FORMAT = forwarder::$1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Nov 2012 14:41:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Changing-host-for-syslog/m-p/48913#M9280</guid>
      <dc:creator>sbrant_splunk</dc:creator>
      <dc:date>2012-11-29T14:41:28Z</dc:date>
    </item>
  </channel>
</rss>

