Splunk Search

Increase SearchManager result limit

edenysenko
New Member

Hi all,

I have a dashboard with Search Table.
Here's my code:

var table = mvc.Components.get(__TABLE_ID__);
var searchManager = mvc.Components.getInstance(table.manager.id);
var searchData = searchManager.data('results');
var dataSourceArray;

searchData.on("data", function(results, data) {
    dataSourceArray = data.rows; // here's my data
});

The problem is that I'm getting only 100 rows even when there are much more items in the table.
I've tried different option tags but didn't help.
Tried adding *** some query | head limit=161 (1==1)*** to the query but if only affected the table but not Javascript SearchManager.

Any ideas how to get the whole list ?

Thanks.

Tags (1)
0 Karma

reoli
New Member
0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...