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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...