Getting Data In

Is it possible to make Splunk use the HOSTNAME field instead of the fromHost field with syslog events?

nterry
Path Finder

As stated above, we have noticed that Splunk is setting the hostname index for syslog events to the value of the fromHost field. We need to be able to set it to the value contained in the HOSTNAME or fix the fromHost to not be localhost.

Does anyone ave any ideas as to how to fix this behavior?

0 Karma

johandk
Path Finder

You can also set the host field in inputs.conf but I've found that using props and transforms is more flexible.

http://docs.splunk.com/Documentation/Splunk/latest/admin/inputsconf

Damien_Dallimor
Ultra Champion

You can setup custom index time transforms on the host meta field by configuring stanzas in props.conf and transforms.conf

A few answers similar to this on Splunkbase already.Here is a good link:

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

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...