How long does it take for elastic to clean watcher-history indices after enabling `xpack.watcher.history.cleaner_service.enabled`?

Hi everyone,
We noticed that we had over 490 indices from watcher-history, that we probably should have deleted a while ago.
I enabled xpack.watcher.history.cleaner_service.enabled and with the current configuration in should only keep the last 7 days.
When does elastic decide that it should delete those indices? At the end/beginning of the day with the creation of the new index? Is there are way to nudge elastic into doing it sooner?

I couldn't find it in the watcher documentation page.
https://www.elastic.co/guide/en/elasticsearch/reference/5.6/notification-settings.html

Thanks for your help

So apparently it was the second case, and elastic cleaned the older indices on its own.
It would still be nice to be able to force elastic into cleaning the old indices at any given time and not waiting for it to do it at midnight.

Thanks for the help and have a nice day!

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