Splunk Search

How to increase chart column number more than 3000?

brandy81
Path Finder

Hi Guru,

I would like to show my data with 4000 x 3000 matrix. I used chart command but the limit for the number of columns is 100.
chart count by col1, col2 limit=0 didn't work. It shows only 100 columns.
I adjusted jschart_series_limit at web.conf to 10000000, but it didn't work. anybody knows how to remove the limit?

0 Karma

niketn
Legend

@brandy81 what is your current SPL, what is the final output for your chart? Can you share Simple XML code and sample screenshot of existing output? Please mask any sensitive information before posting.

Have you already configured all the required configuration from Splunk Documentation for Data Truncation? https://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartDisplayissues#Data_truncation
PS: 4K*3K=12000000.

Are you seeing any UI warning like (based on your configuration) This visualization is configured to display a maximum of 10000 results per series? Are you using Post-Processing, Custom Visualization or seeing any Browser Console errors?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

to4kawa
Ultra Champion
...
| stats count by col1 col2
| xyseries col1 col2 count
| noop search_optimization=false

sample:

| makeresults count=4000
| streamstats count as session
| transpose 0 header_field=session
| eval tmp=mvrange(0,3000)
| stats values(*) as * by tmp
0 Karma

brandy81
Path Finder

@to4kawa Hello, Thanks, but it dose't work. xyseries also has limit for column number...

0 Karma

to4kawa
Ultra Champion

4000 cols can display.but matrix can't.

my answer is updated.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...