.ml-state too big

Hi

We have the index .ml_state with a size in disk almost 60Gb on disk. Is it possible to purge any data or apply an ILM policy to make rollover? As it is a system index we do not know if it is possible to apply ILM.

ES version 7.1.
Thanks.

You are probably suffering from the bug that meant we didn't clean up the ML state index. This was fixed in version 7.4.1. If you don't want to upgrade you can manually call the delete expired data endpoint periodically.

As it is a system index we do not know if it is possible to apply ILM.

This won't work in 7.1. We apply ILM automatically to the ML state index starting in version 7.7.0. But you will have to upgrade to get that functionality - it won't work if you try to apply it yourself in an earlier version. However, you may well find that after calling the deleted expired data endpoint your index is small enough not to need ILM.

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