ElasticSearch : requête de nettoyage des données

Boris HUISGEN
|
# curl -X DELETE 'http://127.0.0.1:9200/logstash-2014.06*/nginx_access/_query' -d '
{
"query": {
"bool": {
"must": [
{
"term": {
"nginx_access.verb": "GET"
}
},
{
"query_string": {
"default_field": "_all",
"query": "/toto/tata"
}
}
]
}
}
}'