Check the running version from the command line:
curl -XGET 'http://localhost:9200'
Check heap size usage:
curl -sS -XGET "localhost:9200/_cat/nodes?h=heap*&v"
Check for heap space out of memory messages:
grep OutOfMemoryError -A8 /var/log/elasticsearch/elasticsearch.log | tail
Check status:
curl -m1 localhost:9200/_cluster/health?pretty
Check indices:
curl localhost:9200/_cat/indices?v
Re-route unassigned indices:
curl -s -XPOST 'localhost:9200/_cluster/reroute?retry_failed'
Logs:
/var/log/elasticsearch/
View Installed Plugins:
curl 'http://localhost:9200/_cat/plugins'
Adding Plugins on Elasticsearch 2.4
/usr/share/elasticsearch/bin/plugin install {PLUGIN} # After installation, the Elasticsearch service on each node must be restarted to finish the plugin activation. On one node at a time: systemctl restart elasticsearch systemctl status elasticsearch
Adding Plugins on Elasticsearch 5.2, 6.5:
/usr/share/elasticsearch/bin/elasticsearch-plugin install {PLUGIN} # After installation, the Elasticsearch service on each node must be restarted to finish the plugin activation. On one node at a time: systemctl restart elasticsearch systemctl status elasticsearch