Skip to content

Files

Latest commit

 

History

History
43 lines (34 loc) · 1.25 KB

promote-data-stream-api.asciidoc

File metadata and controls

43 lines (34 loc) · 1.25 KB

Promote data stream API

Promote data stream

The purpose of the promote data stream api is to turn a data stream that is replicated by CCR into a regular data stream.

Via CCR Auto Following, a data stream from a remote cluster can be replicated to the local cluster. These data streams can’t be rolled over in the local cluster. Only if the upstream data stream rolls over then these replicated data streams roll over as well. In the event that the remote cluster is no longer available, the data stream in the local cluster can be promoted to a regular data stream, which allows these data streams to be rolled over in the local cluster.

POST /_data_stream/_promote/my-data-stream

{api-request-title}

POST /_data_stream/_promote/<data-stream>

{api-prereq-title}

  • If the {es} {security-features} are enabled, you must have the manage_follow_index cluster privilege to use this API.

{api-path-parms-title}

<data-stream>

(Required, string) The name of the data stream to promote.