Splunk Search

Auto Header Field Extraction (Windows Os)

shariinPH
Contributor

Hi Splunkers!

Newbie here in Splunk.

Starting to learn how to develop using splunk.

Can someone help me find a way to make my .CONFs work for Auto Header Field Extraction (Windows Os).
Here's a sample code below..

props.CONF

[details]
NO_BINARY_CHECK = 1
pulldown_type = 1
REPORT-AutoHeader=extract_details

transforms.CONF

[extract_details]
DELIMS=","
FIELDS="UserName","CaseID","Subject","Action"

_

I already put the props.CONF and transforms.CONF both on
C:\Program Files\Splunk\etc\system\local

and C:\Program Files\Splunk\etc\apps\myapp\local

I also restarted splunk.
can someone help me resolve this issue. Thanks!

shariinPH

0 Karma

ogdin
Splunk Employee
Splunk Employee

You can try to use header extraction for this if running Splunk 6:

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

In props.conf


[details]
INDEXED_EXTRACTIONS=CSV

There are additional controls as well if the header is not on the first line or is prefaced by other garbage.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Mile High Learning with Splunk University, Denver, Colorado

If Denver is known for its mile-high elevation, Splunk University is about to raise the bar on technical ...

IT Service Intelligence 5.0 Series: Your Guide to the June Launch

We are excited to announce the June release of Splunk IT Service Intelligence (ITSI) 5.0. This update ...

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...