Delete data from Elasticsearch

// deletes all data
curl -XDELETE localhost:9200/*

// deletes index 
curl -XDELETE localhost:9200/indexname 

Leave a Reply