ES version 2.1.1 - How to delete the oldest data sitting in the ES index

Could you please let me know the best options to delete the oldest data /documents that was created 2 to 3 years ago and the data is still in ES index.

Thank you.

Delete by query is your only/best option, see https://www.elastic.co/guide/en/elasticsearch/plugins/2.1/delete-by-query-usage.html

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