AuthThe Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.AvailabilityGenerally available since 7.16This functionality is generally available and ready for production usage.Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Performs one or more data stream modification actions in a single atomic operation.
Adds an existing index as a backing index for a data stream.
The index is hidden as part of this operation.
WARNING: Adding indices with the add_backing_index action can potentially result in improper data stream behavior.
This should be considered an expert level API.
data_streamstringrequired
Data stream targeted by the action.
indexstringrequired
Index for the action.
remove_backing_indexobject
Removes a backing index from a data stream.
The index is unhidden as part of this operation.
A data stream’s write index cannot be removed.