Splunk Search

Top Limit 50000 results - Where to Change?

aferone
Builder

In my local limits.conf file, on my Search Head, I have the following:

[searchresults]

maxresultrows = 100000

[stats]

maxresultrows = 100000

However, I still get this error message:

"Error in 'top' command: The limit must be <= 50000."

Am I making the correct changes, and should they be on the Search Head or my Indexer?

Thanks!

Tags (3)
1 Solution

aferone
Builder

I added this to my limits.conf on the INDEXER, and it is now working.

[searchresults]

maxresultrows = 100000

[stats]

maxresultrows = 100000

[top]

maxresultrows = 100000

View solution in original post

aferone
Builder

Thank you!

0 Karma

somesoni2
Revered Legend

I see following text in the limits.conf documentation.
http://docs.splunk.com/Documentation/Splunk/6.1.1/admin/Limitsconf

*****limits.conf settings and DISTRIBUTED SEARCH
Unlike most settings which affect searches, limits.conf settings are not provided by the search head to be used by the search peers. This means that if you need to alter search-affecting limits in a distributed environment, typically you will need to modify these settings on the relevant peers and search head for consistent results.

aferone
Builder

I added this to my limits.conf on the INDEXER, and it is now working.

[searchresults]

maxresultrows = 100000

[stats]

maxresultrows = 100000

[top]

maxresultrows = 100000

aferone
Builder

Thank you, but there is no reference to whether this should be on the indexer or search head.

0 Karma

somesoni2
Revered Legend
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...