From 709751163a5f7869ce2ad8193fc4bae677150e5c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 15 Nov 2023 18:55:19 +0000 Subject: [PATCH] =?UTF-8?q?[Doc]=20new=20param=20in=20rollover=20action=20?= =?UTF-8?q?=E2=80=94=20copy=5Falias=20(#5173)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [Doc] new param in rollover action — copy_alias Signed-off-by: bowenlan-amzn * Apply suggestions from code review Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> --------- Signed-off-by: bowenlan-amzn Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> (cherry picked from commit ea66e3f1d58f75e0fe77da22ab893ee73fbe9278) Signed-off-by: github-actions[bot] --- _im-plugin/ism/policies.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_im-plugin/ism/policies.md b/_im-plugin/ism/policies.md index 8e873268de..7a87acf502 100644 --- a/_im-plugin/ism/policies.md +++ b/_im-plugin/ism/policies.md @@ -274,6 +274,7 @@ Parameter | Description | Type | Example | Required `min_primary_shard_size` | The minimum storage size of a **single primary shard** required to roll over the index. For example, if you set `min_primary_shard_size` to 30 GiB and **one of** the primary shards in the index has a size greater than the condition, the rollover occurs. See **Important** note above. | `string` | `20gb` or `5mb` | No `min_doc_count` | The minimum number of documents required to roll over the index. See **Important** note above. | `number` | `2000000` | No `min_index_age` | The minimum age required to roll over the index. Index age is the time between its creation and the present. Supported units are `d` (days), `h` (hours), `m` (minutes), `s` (seconds), `ms` (milliseconds), and `micros` (microseconds). See **Important** note above. | `string` | `5d` or `7h` | No +`copy_alias` | Controls whether to copy over all aliases from the current index to a newly created index. Defaults to `false`. | `boolean` | `true` or `false` | No ```json {