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!

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 ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...