Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- curl -s http://localhost:9200/_cat/indices | awk '{print $3} ' | grep -ve '.kibana' | while read line
- do
- curl -s -X DELETE http://localhost:9200/$line
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement