Added missed "template" settings
This commit is contained in:
parent
1f90f3ca52
commit
57d7ee0aaa
|
@ -558,9 +558,11 @@ The following sample template policy is for a rollover use case.
|
||||||
PUT _index_template/ism_rollover
|
PUT _index_template/ism_rollover
|
||||||
{
|
{
|
||||||
"index_patterns": ["log*"],
|
"index_patterns": ["log*"],
|
||||||
"settings": {
|
"template": {
|
||||||
"plugins.index_state_management.rollover_alias": "log"
|
"settings": {
|
||||||
}
|
"opendistro.index_state_management.rollover_alias": "log"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -586,6 +588,12 @@ The following sample template policy is for a rollover use case.
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
5. Verify if the policy is attached to the `log-000001` index:
|
||||||
|
|
||||||
|
```json
|
||||||
|
GET _opendistro/_ism/explain/log-000001?pretty
|
||||||
|
```
|
||||||
|
|
||||||
## Example policy
|
## Example policy
|
||||||
|
|
||||||
The following example policy implements a `hot`, `warm`, and `delete` workflow. You can use this policy as a template to prioritize resources to your indices based on their levels of activity.
|
The following example policy implements a `hot`, `warm`, and `delete` workflow. You can use this policy as a template to prioritize resources to your indices based on their levels of activity.
|
||||||
|
|
Loading…
Reference in New Issue