Getting Data In

What conf files must I update to change the 50000 limit for external scripts?

andrewtrobec
Motivator

Hello,

I currently have an external python script that is called by my search to manipulate data. Everything works except I've noticed that the Statistics tab is limiting the number of results to 50000. I've found a number of threads that address limits of 50000, but none that will help to raise the upper limit for script calls.

I've tried to add a [default] stanza to my local commands.conf where i set maxinputs = 0, but that has had no effect.

Could someone help me understand which conf files I need to update?

Thank you!

Andrew

Tags (1)
0 Karma
1 Solution

493669
Super Champion

Hi @andrewtrobec,
Have you tried to to add this in limits.conf present at $SPLUNK_HOME/etc/system/local/

[searchresults] 
maxresultrows = 100000
[stats]
maxresultrows = 100000
[top]
maxresultrows = 100000

View solution in original post

493669
Super Champion

Hi @andrewtrobec,
Have you tried to to add this in limits.conf present at $SPLUNK_HOME/etc/system/local/

[searchresults] 
maxresultrows = 100000
[stats]
maxresultrows = 100000
[top]
maxresultrows = 100000

andrewtrobec
Motivator

This did the trick!

Also, for reference I had to update commands.conf in $SPLUNK_HOME/etc/apps/<app_name>/local to:

[default]
maxinputs = 0
maxresultrows = 100000

Regards,

Andrew

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...