Splunk Search

data sent via syslog aren't resolving their host name

BSoni
New Member

The servers sending data via syslog aren't resolving their host name....I edited my inputs.conf file in local dir as suggested. when i do search on splunk by sourcetype=syslog; i see bunch of ip address for host. please kindly offer some advise what am i doing wrong.

[udp://514]

disabled = false

connection_host = dns

Thanks,

Soni

Tags (1)
0 Karma

Stephen_Sorkin
Splunk Employee
Splunk Employee

By default, for sourcetype=syslog, the host field will be extracted by regex from the event itself, which overwrites the host from the connection (that's set by this connection_host directive).

The easiest way to defeat this behavior is to choose a sourcetype other than syslog.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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