Getting Data In

What is the best way to automatically map a field extracted via KV_MODE=auto to the host field in the event?

a212830
Champion

I have a feed that has nice key-value pair fields, which are automatically getting populated, via KV_MODE=auto in my props.conf. My question is what is the best way to automatically map one of these fields to the host field in the event.

0 Karma

neelamssantosh
Contributor
0 Karma

sbrant_splunk
Splunk Employee
Splunk Employee

Hi-

Take a look at this doc, that should answer your question: http://docs.splunk.com/Documentation/Splunk/6.1.3/Data/Overridedefaulthostassignments

Although you will have to specify a regex and not depend on the KV_MODE extraction of the host name.

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...