Skip to content

ILM: Including "aging" information in Explain lifecycle API #38988

Closed
@ppf2

Description

@ppf2

6.6.0

I can see this feature being useful for admins in the field.

Imagine an admin is not seeing indices getting deleted from the cluster per their ILM policy and are wondering how much longer is left on the clock before ILM will consider the indices meeting the "age" requirement for deletion.

Currently, we have this information in the TRACE logging level

checking for index age to be at least [20m] before performing actions in the "delete" phase. Now: 1550263112, lifecycle date: 1550262751, age: [6m/360s]

It will be helpful to include this in the explain lifecycle API output as well (i.e., how much time is left before it will attempt to execute the next action without requiring admins to do their own time calculations) so that enabling trace logging is not necessary.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions