Friday, February 17, 2017

delete elasticsearch data with curl

 
this is for me and me alone.

 curl -XDELETE "http://graylog:9200/graylog/message/_query" -d'  
 {  
   "query": {  
    "match": {  
      "source": "nginx"  
    }  
   }  
 }'  

No comments: