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
Revered Legend

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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...