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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...