Skip to main content

Clone Index

Clones an existing index.

Indices can only be cloned if they meet the following requirements:

  • The target index must not exist.
  • The source index must have the same number of primary shards as the target index.
  • The node handling the clone process must have sufficient free disk space to accommodate a second copy of the existing index.

Parameters

ParameterDescription
IndexName of the source index to clone.
SettingsConfiguration options for the target index.
Target IndexName of the target index to create.Index names must meet the following criteria:
  • Lowercase only
  • Cannot include \, /, *, ?, ", <, >, |, ' ' (space character), , (comma), #
  • Indices prior to 7.0 could contain a colon (:), but that’s been deprecated and won’t be supported in 7.0+
  • Cannot start with -, _, +
  • Cannot be . or ..
  • Cannot be longer than 255 bytes (note it is bytes, so multi-byte characters will count towards the 255 limit faster)
  • Names starting with . are deprecated, except for hidden indices and internal indices managed by plugins.

Workflow Library Example

Clone Index with Elasticsearch and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop