Body
Required
Schema for the engine initialization
-
The delay before the transform will run.
Format should match the following pattern:
[smdh]$
. Default value is1m
. -
The number of documents per second to process.
Default value is
-1
. -
Interval in which enrich policy runs. For example,
"1h"
means the rule runs every hour. Must be less than or equal to half the duration of the lookback period,Format should match the following pattern:
^[1-9]\d*[smh]$
. -
The number of historical values to keep for each field.
Default value is
10
. -
The frequency at which the transform will run.
Format should match the following pattern:
[smdh]$
. Default value is1m
. -
The amount of time the transform looks back to calculate the aggregations.
Format should match the following pattern:
[smdh]$
. Default value is3h
. -
The initial page size to use for the composite aggregation of each checkpoint.
Default value is
500
. -
The timeout for initializing the aggregating transform.
Format should match the following pattern:
[smdh]$
. Default value is180s
. -
The field to use as the timestamp for the entity type.
Default value is
@timestamp
.
curl \
--request POST 'https://<KIBANA_URL>/api/entity_store/engines/{entityType}/init' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"delay":"1m","docsPerSecond":-1,"enrichPolicyExecutionInterval":"1h","fieldHistoryLength":10,"filter":"string","frequency":"1m","indexPattern":"string","lookbackPeriod":"3h","maxPageSearchSize":500,"timeout":"180s","timestampField":"@timestamp"}'