Last active
September 13, 2017 12:29
-
-
Save seiteta/d8123bdd895fa89465a50eef91d1bf2d to your computer and use it in GitHub Desktop.
Delete an index in Elasticsearch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List all indices: | |
curl -XGET 'localhost:9200/_cat/indices?v&pretty' | |
# Delete the index (here `myindex`): | |
curl -XDELETE 'localhost:9200/myindex?pretty' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment