I am looking for a way to periodically clean up Elastic search indices which are older than X days and do not belong to an alias. I know that ILM can be used for "older than" part, but is it possible to also configure it somehow so it can check and only delete those which do not belong to an alias?
Thanks.