Created
February 26, 2016 16:42
-
-
Save cuevasclemente/e6bbf08300a39aa9daa7 to your computer and use it in GitHub Desktop.
Shutdown Elasticsearch Server (from http://stackoverflow.com/questions/17191539/how-to-stop-shut-down-an-elasticsearch-node)
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
# Shutdown local node | |
$ curl -XPOST 'http://localhost:9200/_cluster/nodes/_local/_shutdown' | |
# Shutdown all nodes in the cluster | |
$ curl -XPOST 'http://localhost:9200/_shutdown' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment