Initialize an Entity Engine Beta
Path parameters
-
The entity type of the engine (either 'user' or 'host').
Values are
user
orhost
.
Body Required
Schema for the engine initialization
-
fieldHistoryLength integer
The number of historical values to keep for each field.
Default value is
10
. -
filter string
-
indexPattern string
POST /api/entity_store/engines/{entityType}/init
curl \
-X POST https://localhost:5601/api/entity_store/engines/{entityType}/init \
-H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
"fieldHistoryLength": 10,
"filter": "string",
"indexPattern": "string"
}
Response examples (200)
{
"error": {},
"fieldHistoryLength": 42,
"filter": "string",
"indexPattern": "string",
"status": "installing",
"type": "user"
}