Created
April 15, 2015 09:33
-
-
Save dannycroft/fbfd46fd1b4a071fc964 to your computer and use it in GitHub Desktop.
Elasticsearch shutdown via CURL
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