Skip to content

Commit

Permalink
[Doc] new param in rollover action — copy_alias (#5173)
Browse files Browse the repository at this point in the history
* [Doc] new param in rollover action — copy_alias

Signed-off-by: bowenlan-amzn <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: bowenlan-amzn <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
  • Loading branch information
2 people authored and vagimeli committed Dec 20, 2023
1 parent 6008a46 commit aed6db6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _im-plugin/ism/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit aed6db6

Please sign in to comment.