Skip to content

Instantly share code, notes, and snippets.

@col
Last active April 24, 2019 07:42
Show Gist options
  • Save col/9e92958e741a66264de4594a87d56478 to your computer and use it in GitHub Desktop.
Save col/9e92958e741a66264de4594a87d56478 to your computer and use it in GitHub Desktop.
Elasticsearch Notes

Elasticsearch Notes

Useful Endpoints

curl http://<host>:9200/_cat/health
curl http://<host>:9200/_cluster/state?pretty
curl http://<host>:9200/_nodes/stats/process?pretty

Paths

ES_HOME: /usr/share/elasticsearch
ES_DATA: /var/lib/elasticsearch
ES_LOGS: /var/log/elasticsearch

export ES_HOME=/usr/share/elasticsearch
export ES_DATA=/var/lib/elasticsearch
export ES_LOGS=/var/log/elasticsearch

Start

./usr/share/elasticsearch/bin/elasticsearch -d

... more to come

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment