ElasticSearch : requête de nettoyage des données

Boris HUISGEN June 22, 2014

administration base de données elasticsearch

# 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"
          }
        }
      ]
    }
  }
}'

See also

PHP-FPM : effectuer un strace en live
Read more
Git : squasher des commits (fusion)
Read more
Debian : réinstaller un package
Read more