mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Fix butch size for event search in the Indicator Match rule. (#138356)
* Make event list count for 3000 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
6cd06600f1
commit
42b798779b
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ import { getQueryFilter } from '../../../../../common/detection_engine/get_query
|
|||
import { singleSearchAfter } from '../single_search_after';
|
||||
import { buildEventsSearchQuery } from '../build_events_query';
|
||||
|
||||
export const MAX_PER_PAGE = 9000;
|
||||
export const MAX_PER_PAGE = 3000;
|
||||
|
||||
export const getEventList = async ({
|
||||
services,
|
||||
|
@ -47,7 +47,7 @@ export const getEventList = async ({
|
|||
services,
|
||||
ruleExecutionLogger,
|
||||
filter,
|
||||
pageSize: Math.ceil(Math.min(tuple.maxSignals, calculatedPerPage)),
|
||||
pageSize: calculatedPerPage,
|
||||
primaryTimestamp,
|
||||
secondaryTimestamp,
|
||||
sortOrder: 'desc',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue