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!

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...