Skip to content

Instantly share code, notes, and snippets.

@alexwoollam
Created February 17, 2022 05:58
Show Gist options
  • Save alexwoollam/dbadc1aa4c3c50494c8ae536531884dc to your computer and use it in GitHub Desktop.
Save alexwoollam/dbadc1aa4c3c50494c8ae536531884dc to your computer and use it in GitHub Desktop.
Elastic search cheatsheet
//
//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