Finalize detection alert migrations
deprecated
Server:
https://{kibana_url}
- POST /api/detection_engine/signals/finalize_migration
- POST /s/{space_id}/api/detection_engine/signals/finalize_migration
Refer to Spaces for more information.
DEPRECATED. Completes a legacy alert index migration. Do not automate against this in new code. WARNING: Finalizing swaps read aliases; confirm the migration has finished successfully before calling.
Finalize successful migrations of detection alerts. This replaces the original index's alias with the successfully migrated index's alias. The endpoint is idempotent, so you can poll until a migration finishes and then call this operation once.
Request
Array of migration_ids to finalize
-
migration_idsstring · min: 1required -
Array of
migration_ids to finalize.
Responses
Successful response
Response Type: object
-
completedbooleanrequired -
destinationIndexstringrequired -
errorobject -
messagestringrequired -
status_codeintegerrequired -
idstringrequired -
sourceIndexstringrequired -
statusrequired -
Values:
successfailurepending -
updatedstringrequired -
versionstringrequired
Invalid input data response
One of:
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
-
messagestringrequired -
status_codeintegerrequired
Unsuccessful authentication response
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
Internal server error response
-
messagestringrequired -
status_codeintegerrequired