The setMaxCount() method sets the search maxCount property, specifying the maximum number of results that each of a search job status buckets can contain.
Note: In general, the default maxCount value should not be changed. Also, if the search is dispatched with status_buckets >= 1 , the maxCount setting are ignored by splunkd.
setMaxCount( maxCount )
|
maxCount |
Integer |
Maximum job status bucket results count. Default = 10,000. |
Undefined
var context = this.getContext();var search = context.get("search");
search.setMaxCount(31337);
context.set('search', search);
return context;