Skip to content

Instantly share code, notes, and snippets.

@danielef
Created January 6, 2020 21:34
Show Gist options
  • Save danielef/74679d1abb841af91aacd4c44ffa472c to your computer and use it in GitHub Desktop.
Save danielef/74679d1abb841af91aacd4c44ffa472c to your computer and use it in GitHub Desktop.
Elastic / delete index data
curl -XPOST -H 'Content-Type: application/json' 'http://localhost:9200/foo/_delete_by_query?conflicts=proceed&pretty' -d'
{
"query": {
"match_all": {}
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment