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!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...