From f5118eb3b8aad49d658c9ffd3dbb4c71664c6bd0 Mon Sep 17 00:00:00 2001 From: Naarcha-AWS Date: Tue, 3 May 2022 14:30:57 -0500 Subject: [PATCH] Add state management template Signed-off-by: Naarcha-AWS --- _im-plugin/ism/policies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_im-plugin/ism/policies.md b/_im-plugin/ism/policies.md index 593d917e..c35a49e2 100644 --- a/_im-plugin/ism/policies.md +++ b/_im-plugin/ism/policies.md @@ -189,7 +189,7 @@ Parameter | Description | Type | Example | Required `num_new_shards` | The maximum number of primary shards in the shrunken index. | integer | `5` | Yes, however it cannot be used with `max_shard_size` or `percentage_of_source_shards` `max_shard_size` | The maximum size in bytes of a shard for the target index. | keyword | `5gb` | Yes, however it cannot be used with `num_new_shards` or `percentage_of_source_shards` `percentage_of_source_shards` | Percentage of the number of original primary shards to shrink. This parameter indicates the minimum percentage to use when shrinking the number of primary shards. Must be between 0.0 and 1.0, exclusive. | Percentage | `0.5` | Yes, however it cannot be used with `max_shard_size` or `num_new_shards` -`target_index_suffix` | Suffix that will be appended to the target index to be shrunk. | text | `{{ctx.index}}_shrunken` | No +`target_index_name_template` | The name of the shrunken index. Accepts strings and the Mustache variables `{{ctx.index}}` and `{{ctx.indexUuid}}`. | `string` or Mustache template | `{"source": "{{ctx.index}}_shrunken"}` | No `aliases` | Aliases to add to the new index. | object | `myalias` | No, but must be an array of alias objects `force_unsafe` | If true, executes the shrink action even if there are no replicas. | boolean | `false` | No