Getting Data In

How to set a source_type for CSV with headers?

Flower
Loves-to-Learn Lots

Hi,

I'm trying to set a source_type for CSV files that contains headers, and the fields are extracted fine.
The problem is that the data is extracted both as fields with the headers and as indexed fields like: field1, field2, etc.


My question is:
Is it possible to extract only the fields with the headers and not the fields field1, field2?

Thanks!

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...