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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How Edge Processor's Durable Queue Works

Edge Processor sits in one of the most consequential places in any Splunk pipeline: between your data sources ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Quantify Your Splunk Investment Impact: Introducing Savings Metrics to Value Insights

Building on the foundation established in our initial Value Insights releases, we are introducing the Savings ...