Update policies.md

This commit is contained in:
Omurbek 2021-10-04 12:30:23 +03:00 committed by GitHub
parent 57d7ee0aaa
commit 19fb0d0948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 7 deletions

View File

@ -560,7 +560,7 @@ The following sample template policy is for a rollover use case.
"index_patterns": ["log*"], "index_patterns": ["log*"],
"template": { "template": {
"settings": { "settings": {
"opendistro.index_state_management.rollover_alias": "log" "plugins.index_state_management.rollover_alias": "log"
} }
} }
} }
@ -588,12 +588,6 @@ 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.