Delete oldest index if storage is full


ELK stack version: v7.x ... latest

I've created an ILM policy that deletes the index if the index is older than x days. It works well.

But sometimes too many documents arrive into the indexes so the storage becomes full (95%) before the policy would delete the oldest index to make space for the more valuable documents in the newer indexes.

Is there any kind of mechanism in ELK which would help to delete the oldest index if storage is full or reach a certain level (x%)?

if possible I'd like to solve this problem only with ELK feature set so to avoid the usage of external tools like Curator.

Could somebody point me in the right direction?

1 Like

That's not possible in ILM at this point sorry.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.