Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.15] Fix ISM error prevention setting key is not correct #7778

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _im-plugin/ism/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,13 +553,13 @@ Introduced 2.4

ISM allows you to run an action automatically. However, running an action can fail for a variety of reasons. You can use error prevention validation to test an action in order to rule out failures.

To enable error prevention validation, set the `plugins.index_state_management.validation_service.enabled` setting to `true`:
To enable error prevention validation, set the `plugins.index_state_management.action_validation.enabled` setting to `true`:

```bash
PUT _cluster/settings
{
"persistent":{
"plugins.index_state_management.validation_action.enabled": true
"plugins.index_state_management.action_validation.enabled": true
}
}
```
Expand Down Expand Up @@ -692,4 +692,4 @@ GET _plugins/_ism/explain/test-000001
},
"total_managed_indices" : 1
}
```
```
4 changes: 2 additions & 2 deletions _im-plugin/ism/error-prevention/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ The ISM Error Prevention API allows you to enable Index State Management (ISM) e

## Enable error prevention validation

You can configure error prevention validation by setting the `plugins.index_state_management.validation_service.enabled` parameter.
You can configure error prevention validation by setting the `plugins.index_state_management.action_validation.enabled` parameter.

#### Example request

```bash
PUT _cluster/settings
{
"persistent":{
"plugins.index_state_management.validation_action.enabled": true
"plugins.index_state_management.action_validation.enabled": true
}
}
```
Expand Down
Loading