Getting Data In

What is the role of HEADER_MODE in props.conf?

brandy81
Path Finder

Hi,

What is the role of HEADER_MODE in props.conf? I am seeing the documents, but I don't understant.

https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/Propsconf

Could anyone please let me know what it is with specific example?

Thanks in advance.

 

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust
It's there for scripted inputs to tell Splunk about the data it is about to deliver. The input may gather data from different sources or of different types and the "***SPLUNK***" token tells Splunk what metadata to assign to the data.
See https://docs.splunk.com/Documentation/Splunk/latest/Data/Assignmetadatatoeventsdynamically
---
If this reply helps you, Karma would be appreciated.

View solution in original post

brandy81
Path Finder

@richgalloway  Hi Thanks. But I have already read the links you suggested. I would like to know when HEADER_MODE is helpful. 

Isn't there anyone who could explain the specific circumstance where  the HEADER_MODE is necessary? 

0 Karma

richgalloway
SplunkTrust
SplunkTrust
It's there for scripted inputs to tell Splunk about the data it is about to deliver. The input may gather data from different sources or of different types and the "***SPLUNK***" token tells Splunk what metadata to assign to the data.
See https://docs.splunk.com/Documentation/Splunk/latest/Data/Assignmetadatatoeventsdynamically
---
If this reply helps you, Karma would be appreciated.

isoutamo
SplunkTrust
SplunkTrust

When you are feeding or reading several different events (sources, sourcetypes) and you want to tell to the splunk what those events are, instead that splunk needs to “guess” what this specific events are. Basically you could think it as “beta version of HEC”.

r. Ismo

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

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