-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Data Management/ILM+SLMIndex and Snapshot lifecycle managementIndex and Snapshot lifecycle management>enhancementTeam:Data ManagementMeta label for data/management teamMeta label for data/management team
Description
We've had reports of users running into issues while trying to load their ILM policies through Kibana, as the GET /_ilm/policy request is taking a long time when there are a lot of indices that have an ILM policy configured.
The reason that this call is taking so long, is that it's computing the in_use_by response field. However, currently, Kibana shows the Linked Indices column which is based on that response field. Therefore, we'll need to come up with a solution together with the Kibana team.
Possible solutions discussed thus far are:
- Optimizing the
in_use_bycomputation in ES itself. This would benefit everyone (Kibana users and direct ES users) and would not require any changes in Kibana. The downside is that we're unsure how much we're going to be able to shave off this response time. - Making the
in_use_byfield opt-out which would allow Kibana to still use that endpoint to show the list of ILM policies, but in a much quicker way. The downside is that we'll have to come up with another way of showing the number of indices that are using a specific ILM policy. (it might be worth checking if people actually use this information currently) - Adding a request parameter along the lines of
max_resourceswhich would limit the number of linked indices that are returned. This would require some more investigation to assess whether this would actually improve performance on the ES side or not. Additionally, this would require Kibana to make it clear to users that there are, in fact, more indices.
VenturiEffect02 and drizzthacker
Metadata
Metadata
Assignees
Labels
:Data Management/ILM+SLMIndex and Snapshot lifecycle managementIndex and Snapshot lifecycle management>enhancementTeam:Data ManagementMeta label for data/management teamMeta label for data/management team