Getting Data In

Is there a way to handle csv format at search level?

ddrillic
Ultra Champion

Is there a way to handle csv files without using INDEXED_EXTRACTIONS = csv at all? As a rule of thumb, we defer field discovery to the search heads. So, is there a way to do it for the csv format as well?

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Ignoring the obvious question (Why?), you can set up transforms.conf with DELIMS and FIELDS to parse 1,2,3 into three named fields at search time on the indexers according to the search head's knowledge bundle.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Ignoring the obvious question (Why?), you can set up transforms.conf with DELIMS and FIELDS to parse 1,2,3 into three named fields at search time on the indexers according to the search head's knowledge bundle.

ddrillic
Ultra Champion

Very kind @martin_mueller - thank you!

0 Karma

ddrillic
Ultra Champion

And from our Sales Engineer - CSVs are nice because they’re so simple. There are commas delimiting fields and a field header.

Example config - Extract fields from files with structured data

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...