Splunk Search

Can Splunk handle indexing a CSV file containing more than 6000 fields/columns?

splunknewbie05
Explorer

I have a heavily nested structured/dynamic XML event. I converted it to CSV and it generated more than 6000 unique fields (Columns). I noticed splunk is able to detect only a few columns. From the Splunk documentation, the default is set to 512 columns.
I added "maxcols" to limits.conf and still Splunk uses only few columns.
Can splunk handle this many large no of columns?

0 Karma

ebaileytu
Communicator

sure - I have a csv file I push into splunk every day with 10K columns. I had to set truncation=0 in props to get it work. One catch is that Splunk will not display all the columns as interesting fields. Otherwise works fine.

DalJeanis
Legend

To show up in the "Interesting fields" list, values have to be populated on 20% of the events. If many or most of your 10K columns are optional data, then they would not appear in the list.

0 Karma

chimell
Motivator

Please splunknewbie05 can you explicit well your problem ?What do you want to do ?

0 Karma

Yasaswy
Contributor

There are other limitations.. how long are your lines? Are you truncating them?

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...