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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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