-
-
Save alexwoollam/dbadc1aa4c3c50494c8ae536531884dc to your computer and use it in GitHub Desktop.
Elastic search cheatsheet
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
// | |
//sudo /etc/init.d/elasticsearch start | |
// Start | |
sudo systemctl start elasticsearch.service | |
// Check | |
curl 127.0.0.1:9200 | |
// Get some stuff | |
wget http://127.0.0.1:9200/_stats?format=json | |
wget http://127.0.0.1:9200/_cat/indices?format=json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment