Edit ism example policy (#5998)

Signed-off-by: 10000-ki <10000ki6472@gmail.com>
This commit is contained in:
10000-ki 2024-01-04 01:12:31 +09:00 committed by GitHub
parent 247d88814a
commit 063fd9af7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 3 deletions

View File

@ -924,7 +924,7 @@ Note: The `index` and `remove_index` parameters are not allowed with alias actio
The following example policy implements a `hot`, `warm`, and `delete` workflow. You can use this policy as a template to prioritize resources to your indexes based on their levels of activity.
In this case, an index is initially in a `hot` state. After a day, it changes to a `warm` state, where the number of replicas increases to 5 to improve the read performance.
In this case, an index is initially in a `hot` state. After 7 days, it changes to a `warm` state, where the number of replicas is reduced to 1 and the indexes are moved to nodes with the `warm` attribute.
After 30 days, the policy moves this index into a `delete` state. The service sends a notification to a Chime room that the index is being deleted, and then permanently deletes it.
@ -940,7 +940,7 @@ After 30 days, the policy moves this index into a `delete` state. The service se
"actions": [
{
"rollover": {
"min_index_age": "1d",
"min_index_age": "7d",
"min_primary_shard_size": "30gb"
}
}
@ -956,7 +956,14 @@ After 30 days, the policy moves this index into a `delete` state. The service se
"actions": [
{
"replica_count": {
"number_of_replicas": 5
"number_of_replicas": 1
}
},
{
"allocation": {
"require": {
"temp": "warm"
}
}
}
],