<?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 from non-default udp input does not get converted into DNS entry ... in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/hostname-from-non-default-udp-input-does-not-get-converted-into/m-p/11828#M726</link>
    <description>&lt;P&gt;I think that the system hosting splunk needs to be configured to do dns lookups for this new port. I could be wrong...but check this out:&lt;/P&gt;

&lt;P&gt;options {
    sync (0);
    time_reopen (10);
    log_fifo_size (1000);
    long_hostnames (off);
    use_dns (yes);
    use_fqdn (yes);
    use_time_recvd (yes);
    create_dirs (yes);
    keep_hostname (yes);
};&lt;/P&gt;

&lt;H1&gt;==============&lt;/H1&gt;

&lt;H1&gt;SOURCES&lt;/H1&gt;

&lt;H1&gt;==============&lt;/H1&gt;

&lt;P&gt;source s_sys {
    file ("/proc/kmsg" log_prefix("kernel: "));
    unix-stream ("/dev/log");
    internal();
    # udp(ip(0.0.0.0) port(514));
};&lt;/P&gt;

&lt;P&gt;source s_net {
    udp(ip(0.0.0.0) port (514));
};&lt;/P&gt;

&lt;P&gt;This is from my syslog-ng.conf file. Maybe adding the following will help?&lt;/P&gt;

&lt;P&gt;source s_net {
    udp(ip(0.0.0.0) port (515));
};&lt;/P&gt;</description>
    <pubDate>Wed, 21 Apr 2010 00:56:28 GMT</pubDate>
    <dc:creator>mayler</dc:creator>
    <dc:date>2010-04-21T00:56:28Z</dc:date>
    <item>
      <title>hostname from non-default udp input does not get converted into DNS entry ...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hostname-from-non-default-udp-input-does-not-get-converted-into/m-p/11827#M725</link>
      <description>&lt;P&gt;Server is running 4.1.&lt;/P&gt;

&lt;P&gt;This does not seem to be an issue for default udp (that is, udp/514) messages.&lt;/P&gt;

&lt;PRE&gt;
[udp://9514]
disabled = false
sourcetype = cisco_syslog
index = udp9514
connection_host = dns
&lt;/PRE&gt;

&lt;P&gt;Received syslog messages retain their IP address and not get switched to hostname.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2010 18:35:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hostname-from-non-default-udp-input-does-not-get-converted-into/m-p/11827#M725</guid>
      <dc:creator>gshah</dc:creator>
      <dc:date>2010-04-20T18:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: hostname from non-default udp input does not get converted into DNS entry ...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hostname-from-non-default-udp-input-does-not-get-converted-into/m-p/11828#M726</link>
      <description>&lt;P&gt;I think that the system hosting splunk needs to be configured to do dns lookups for this new port. I could be wrong...but check this out:&lt;/P&gt;

&lt;P&gt;options {
    sync (0);
    time_reopen (10);
    log_fifo_size (1000);
    long_hostnames (off);
    use_dns (yes);
    use_fqdn (yes);
    use_time_recvd (yes);
    create_dirs (yes);
    keep_hostname (yes);
};&lt;/P&gt;

&lt;H1&gt;==============&lt;/H1&gt;

&lt;H1&gt;SOURCES&lt;/H1&gt;

&lt;H1&gt;==============&lt;/H1&gt;

&lt;P&gt;source s_sys {
    file ("/proc/kmsg" log_prefix("kernel: "));
    unix-stream ("/dev/log");
    internal();
    # udp(ip(0.0.0.0) port(514));
};&lt;/P&gt;

&lt;P&gt;source s_net {
    udp(ip(0.0.0.0) port (514));
};&lt;/P&gt;

&lt;P&gt;This is from my syslog-ng.conf file. Maybe adding the following will help?&lt;/P&gt;

&lt;P&gt;source s_net {
    udp(ip(0.0.0.0) port (515));
};&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2010 00:56:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hostname-from-non-default-udp-input-does-not-get-converted-into/m-p/11828#M726</guid>
      <dc:creator>mayler</dc:creator>
      <dc:date>2010-04-21T00:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: hostname from non-default udp input does not get converted into DNS entry ...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hostname-from-non-default-udp-input-does-not-get-converted-into/m-p/11829#M727</link>
      <description>&lt;P&gt;Just checked my data input (because i'm doing the same thing) and turns out...there is a radio button for DNS. &lt;/P&gt;

&lt;P&gt;Navigate to Admin/Manager..whatever (from web ui), Data Inputs, UDP, Your UDP 515 or other port, make sure "Set Host" has DNS selected. &lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2010 01:00:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hostname-from-non-default-udp-input-does-not-get-converted-into/m-p/11829#M727</guid>
      <dc:creator>mayler</dc:creator>
      <dc:date>2010-04-21T01:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: hostname from non-default udp input does not get converted into DNS entry ...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hostname-from-non-default-udp-input-does-not-get-converted-into/m-p/11830#M728</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work the same for both.  Can you please review the output of splunk cmd btool inputs list&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2010 01:15:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hostname-from-non-default-udp-input-does-not-get-converted-into/m-p/11830#M728</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2010-04-21T01:15:25Z</dc:date>
    </item>
  </channel>
</rss>

