Skip to content

Conversation

@gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Jul 25, 2019

In order to make it easier to interpret the output of the ILM Explain
API, this commit adds two request parameters to that API:

  • only_managed, which causes the response to only contain indices
    which have index.lifecycle.name set
  • only_errors, which causes the response to contain only indices in an
    ILM error state

"Error state" is defined as either being in the ERROR step or having
index.lifecycle.name set to a policy that does not exist.


Backport of #44777

In order to make it easier to interpret the output of the ILM Explain
API, this commit adds two request parameters to that API:

- `only_managed`, which causes the response to only contain indices
  which have `index.lifecycle.name` set
- `only_errors`, which causes the response to contain only indices in an
  ILM error state

"Error state" is defined as either being in the `ERROR` step or having
`index.lifecycle.name` set to a policy that does not exist.
@gwbrown gwbrown merged commit d4b2d21 into elastic:7.x Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant