Splunk Search

How can I limit the number of results that can be returned in a search (in UI)?

the_wolverine
Champion

I'd like to limit certain users from running expensive searches by limiting the number of results that can be returned by a search in UI. In version 3.x, we had a maxresults setting. How do I do this in version 4.0?

1 Solution

gkanapathy
Splunk Employee
Splunk Employee

For a specific search, you can use the head search command in your search. This does not limit users or search results globally.

There is no limitation on numbers of results in version 4.0. However, you can limit users by configuring a search window time limit for the user's role. This can be done in the Splunk Manager>Role, or using the srchTimeWin setting in authorize.conf.

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

For a specific search, you can use the head search command in your search. This does not limit users or search results globally.

There is no limitation on numbers of results in version 4.0. However, you can limit users by configuring a search window time limit for the user's role. This can be done in the Splunk Manager>Role, or using the srchTimeWin setting in authorize.conf.

Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...