Skip to content

Instantly share code, notes, and snippets.

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