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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...