<?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 different host values on one udp port in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-different-host-values-on-one-udp-port/m-p/391055#M69924</link>
    <description>&lt;P&gt;I think the inputs.conf spec prescribes to set &lt;CODE&gt;connection_host = none&lt;/CODE&gt; if you want to set the host using a &lt;CODE&gt;host =&lt;/CODE&gt; setting.&lt;/P&gt;</description>
    <pubDate>Wed, 16 May 2018 07:20:15 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-05-16T07:20:15Z</dc:date>
    <item>
      <title>How to set different host values on one udp port</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-different-host-values-on-one-udp-port/m-p/391052#M69921</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
I want to set different host value on udp 514 .&lt;BR /&gt;
Events host values equals their IPs, so I want to change it to hostnames.&lt;BR /&gt;
I configured the inputs.conf as below:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[udp://1.1.1.1:514]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;host = SWITCH&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;connection_host = dns&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;sourcetype = syslog-Switch&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[udp://2.2.2.2:514]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;host = FIREWALL&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;connection_host = dns&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;sourcetype = syslog-FIREWALL&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The sourcetype values change, but host values do not.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 09:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-different-host-values-on-one-udp-port/m-p/391052#M69921</guid>
      <dc:creator>920087764</dc:creator>
      <dc:date>2018-05-15T09:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to set different host values on one udp port</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-different-host-values-on-one-udp-port/m-p/391053#M69922</link>
      <description>&lt;OL&gt;
&lt;LI&gt;As far as I know, you cannot configure multiple UDP inputs for the same port.&lt;/LI&gt;
&lt;LI&gt;your settings are confusing: you're hardcoding the &lt;CODE&gt;host&lt;/CODE&gt; value to "SWITCH" or "FIREWALL", but also using &lt;CODE&gt;connection_host = dns&lt;/CODE&gt;. What is it that you want to achieve?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If &lt;CODE&gt;connection_host = dns&lt;/CODE&gt; is not resulting in having hostnames in the host field, but still results in IP addresses, are you sure the IP address can be resolved to a hostname using a reversed DNS lookup?&lt;/P&gt;

&lt;P&gt;Also: do you have any configuration in place that might override the host field value using information from inside the events?&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 11:13:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-different-host-values-on-one-udp-port/m-p/391053#M69922</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-05-15T11:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to set different host values on one udp port</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-different-host-values-on-one-udp-port/m-p/391054#M69923</link>
      <description>&lt;P&gt;I removed &lt;CODE&gt;connection_host = dns&lt;/CODE&gt; but result does not change.&lt;/P&gt;

&lt;P&gt;as far as i checked, there was no configuration in place that override the host field value using events information.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 05:46:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-different-host-values-on-one-udp-port/m-p/391054#M69923</guid>
      <dc:creator>920087764</dc:creator>
      <dc:date>2018-05-16T05:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to set different host values on one udp port</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-different-host-values-on-one-udp-port/m-p/391055#M69924</link>
      <description>&lt;P&gt;I think the inputs.conf spec prescribes to set &lt;CODE&gt;connection_host = none&lt;/CODE&gt; if you want to set the host using a &lt;CODE&gt;host =&lt;/CODE&gt; setting.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 07:20:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-different-host-values-on-one-udp-port/m-p/391055#M69924</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-05-16T07:20:15Z</dc:date>
    </item>
  </channel>
</rss>

