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!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...