How to delete the docs which are older than 5 hours from an index using curator and the index must remain

You can use rollover with Curator or ILM. If that is not an option due to the number of indices I suspect you will need to create some kind of custom automated process or simply reduce the number of indices until it is more manageable.

1 Like