Delete documents from index based on timestamp

https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html

DeleteByQuery can be used. but its a very slow process.