Getting Data In

Some host's IP address not being resolved to hostname for syslog data sent to udp port 514

coleman07
Path Finder

Prior to setting connection_host to DNS for udp:514, all my hosts sending data via syslog got indexed with the host field being an IP address. After making that change, almost all of the hosts switched to having fully qualified names but 5 of those hosts continue to be indexed with an IP address instead of a fully qualified domain name.

I used the lookup command like this (note I am not using a real IP address)

host="192.168.16.12*" | rename host AS clientip | lookup dnslookup clientip

After running the command, those hosts, which continue to be indexed with host as an ip do resolve to a fully qualified name so where do I look to resolve this problem?

Tags (3)
0 Karma

yannK
Splunk Employee
Splunk Employee

Is it syslog sourcetype, Is the source udp:514 ?

0 Karma

coleman07
Path Finder

The five hosts in question are source:udp:514 and sourcetype:syslog. The hosts that now do reverse lookups properly have the same source and sourcetype.

0 Karma

bobmccoy
Explorer

I am having this same issue. A handful of servers resolve the correct host name and most give ip
[udp://:514]
connection_host = dns
sourcetype = syslog
disabled = 0
index = main
no_appending_timestamp = true

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...