Delete specific data from elastic search index

Delete specific data from elastic search data

i want to delete specific data like , want to delete data where date is 01012018 from index "mydata"

please help

May be you want this? https://www.elastic.co/guide/en/elasticsearch/reference/6.1/docs-delete-by-query.html

But if you have time based data, it could be much better to use time based indices (daily index) and simply drop the index.

1 Like

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