Ray Kootstra Ray Kootstra - 12 days ago
96 0

With this curl call you can shutdown a local node or the complete elasticsearch server.

Bash

Shutdown elasticsearch

# shutdown local node
$ curl -XPOST 'http://localhost:9200/_cluster/nodes/_local/_shutdown'

# shutdown all nodes in the cluster
$ curl -XPOST 'http://localhost:9200/_shutdown'