How to delete documents in an index based on condition in elastic search

i have data like name,age,class,registered time in an index called student in my elastic search

i want to delete the documents that are having registered time less than some timestamp(suppose be 15546000xxxxxx).

how can do this ?
what will be the query to be run in dev console

You can use the Delete by Query API. See https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html

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