Getting Data In

Syslog server "host" field question

adamblock2
Path Finder

The Splunk documentation defines “host” as being “an event host value is typically the hostname, IP address, or fully qualified domain name of the network host from which the event originated.” In the case of a syslog server, is it best for the “host” field to contain the hostname of the syslog server, or could/should it contain the hostname of the host where the events are generated?

Tags (1)
0 Karma

woodcock
Esteemed Legend

The host field should absolutely be the place where the event occurred and not anything else in the delivery pipeline to splunk.

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Syslog server will be an intermediate location between Splunk and actual server where events were generated. I would use the hostname of the server where events where generated (this should be logged within each event data itself) as host field, mostly using a transforms.conf to overwrite metadata field host.

http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/overridedefaulthostassignments

0 Karma
Get Updates on the Splunk Community!

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 ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

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 ...