curl -XPOST 'localhost:9200/logstash-2016.10.26/_delete_by_query?pretty' -d'{ "query": { "match": { "_id": { "query": "AVgBC4Hi1HjkftFI9PJm", "type": "phrase" } } } }'
{
"took" : 31,
"timed_out" : false,
"total" : 1,
"deleted" : 1,
"batches" : 1,
"version_conflicts" : 0,
"noops" : 0,
"retries" : {
"bulk" : 0,
"search" : 0
},
"throttled_millis" : 0,
"requests_per_second" : -1.0,
"throttled_until_millis" : 0,
"failures" : [ ]
}
  • No labels