Getting Data In

Splunk does not resolve hostnames in rDNS

torgeirarnoy
Engager

Hi,

We have a fairly new install of Splunk 5.0.4, and i've now opened UDP:514 and the syslog is flowing in. The problem tho is that Splunk lists the hosts with theyr source IP adress instead of the real hostname.

The IPs are all resolveable in rDNS on the splunk server. I cant really find anything reasonable for this case in the manager section either.

What can cause this?

Tags (3)
0 Karma
1 Solution

rturk
Builder

Hi Torgeirarnoy,

This would be the point you dive into the config files, specifically the inputs.conf where you have specified the UDP:514 input. You'll need to change the default 'connection_host' value (ip) to (dns).

[udp://514]
connection_host = dns
sourcetype = syslog

REF: http://docs.splunk.com/Documentation/Splunk/5.0.4/admin/Inputsconf

Hope this helps!

View solution in original post

rturk
Builder

Hi Torgeirarnoy,

This would be the point you dive into the config files, specifically the inputs.conf where you have specified the UDP:514 input. You'll need to change the default 'connection_host' value (ip) to (dns).

[udp://514]
connection_host = dns
sourcetype = syslog

REF: http://docs.splunk.com/Documentation/Splunk/5.0.4/admin/Inputsconf

Hope this helps!

torgeirarnoy
Engager

Worked perfectly. Thanks alot

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...