All Apps and Add-ons

DNS lookup not happening with TCP syslog

cbalmer
Engager

I have a lot of Cisco equipment sending syslog data to my Splunk server. Some of this equipment is using TCP (ones with packet loss in the path) and others are using UDP.

The systems sending via UDP have no issues. Splunk looks up their hostname with reverse DNS of the source IP and enters the data under the correct host.

However any system sending via TCP does not get the same treatment. Splunk does not do reverse DNS and instead enters it under the host of the IP address. If I switch one of these systems to UDP, Splunk correctly does reverse DNS and those entries show up under the hostname and not the IP. Switch the system back to TCP and the entries go under the IP again.

Here are the inputs.conf entries for both:

# cat apps/launcher/local/inputs.conf 
[udp://514]
connection_host = dns
sourcetype = syslog

[tcp://514]
connection_host = dns
sourcetype = syslog
disabled = 0

How can I get reverse DNS functioning for syslog running over TCP?

Tags (4)
0 Karma

tvaniderstine
Explorer

Its been 5 years. can someone from Splunk answer this one, since its still a problem.

0 Karma

dkuk
Path Finder

Hi,
Did you manage it resolve this (I appreciate it was a while back).

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...