Initiate a detection alert migration
https://{kibana_url}
- POST /api/detection_engine/signals/migration
DEPRECATED. Legacy API for on-demand reindexing of old .siem-signals-* alert indices. Do not build new
integrations; upgrade the Elastic Stack and rely on product-managed data lifecycle instead.
WARNING: Migrations can be resource intensive and should be planned during a maintenance window.
Initiate a migration of detection alerts. Migrations are initiated per index. The process is not destructive and should not remove existing data, but it can consume significant cluster resources. Plan capacity accordingly.
Request
Alerts migration parameters
-
indexstring · min: 1required -
Array of index names to migrate.
-
requests_per_secondinteger · min: 1 -
The throttle for the migration task in sub-requests per second. Corresponds to requests_per_second on the Reindex API.
-
sizeinteger · min: 1 -
Number of alerts to migrate per batch. Corresponds to the source.size option on the Reindex API.
-
slicesinteger · min: 1 -
The number of subtasks for the migration task. Corresponds to slices on the Reindex API.
Responses
Successful response
-
indicesoneOfrequired -
indexstringrequired -
migration_idstringrequired -
migration_indexstringrequired -
errorobjectrequired -
messagestringrequired -
status_codestringrequired -
indexstringrequired -
indexstringrequired
Invalid input data response
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
-
messagestringrequired -
status_codeintegerrequired
Unsuccessful authentication response
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
Internal server error response
-
messagestringrequired -
status_codeintegerrequired