Delete specific data from elastic search index


(Vivek Nigam) #1

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


(David Pilato) #2

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.


(system) #3

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