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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...