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!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...