First time testing out this function and not quite sure what to expect in terms of performance. Can anyone comment if this seems right or can be further optimized to perform better?
Single index: logstash_asa_2016.12.31
Total documents: 179,345,189
Documents tagged with "vpn": 5,303,648
delete_by_query command issues at around 10:45 or 11:19 CST, command is still running as of 13:41 CST
search rate on the index is between 20-40 docs/second
curl -XPOST 'localhost:9200/logstash_asa_2016.12.31/_delete_by_query?pretty=true' -d '
{
"query" : {
"bool" : {
"must_not" :{
"term" : { "tags": "vpn" }
}
}
}
}'