20
Total Commands
100%
Free Access
⚡
Lightning Fast
Available Commands
Click on any command to copy it instantly
20 commands available
20 of 20
Resources
Master Elasticsearch
Become proficient in Elasticsearch search engine
curl -X GET 'http://localhost:9200/_cluster/health?pretty'
elasticsearch
cluster
health
curl -X GET 'http://localhost:9200/_cluster/stats?pretty'
elasticsearch
stats
curl -X GET 'http://localhost:9200/_nodes/stats?pretty'
elasticsearch
node
stats
curl -X GET 'http://localhost:9200/_cat/indices?v'
elasticsearch
indices
list
curl -X PUT 'http://localhost:9200/my_index?pretty'
elasticsearch
index
create
curl -X DELETE 'http://localhost:9200/my_index?pretty'
elasticsearch
index
delete
curl -X POST 'http://localhost:9200/my_index/_doc/1?pretty' -H 'Content-Type: application/json' -d '{"name":"John"}'
elasticsearch
document
insert
curl -X GET 'http://localhost:9200/my_index/_doc/1?pretty'
elasticsearch
document
get
curl -X POST 'http://localhost:9200/my_index/_update/1?pretty' -H 'Content-Type: application/json' -d '{"doc":{"name":"Jane"}}'
elasticsearch
document
update
curl -X DELETE 'http://localhost:9200/my_index/_doc/1?pretty'
elasticsearch
document
delete
curl -X GET 'http://localhost:9200/my_index/_search?q=name:John&pretty'
elasticsearch
search
query
curl -X GET 'http://localhost:9200/my_index/_search?pretty' -H 'Content-Type: application/json' -d '{"query":{"match":{"name":"John"}}}'
elasticsearch
search
json
curl -X POST 'http://localhost:9200/_reindex?pretty' -H 'Content-Type: application/json' -d '{"source":{"index":"old_index"},"dest":{"index":"new_index"}}'
elasticsearch
reindex
curl -X POST 'http://localhost:9200/_aliases?pretty' -H 'Content-Type: application/json' -d '{"actions":[{"add":{"index":"my_index","alias":"current"}}]}'
elasticsearch
alias
curl -X PUT 'http://localhost:9200/_snapshot/my_backup/snapshot_1?wait_for_completion=true&pretty'
elasticsearch
snapshot
backup
curl -X POST 'http://localhost:9200/_snapshot/my_backup/snapshot_1/_restore?pretty'
elasticsearch
snapshot
restore
curl -X GET 'http://localhost:9200/_analyze?pretty' -H 'Content-Type: application/json' -d '{"text":"Elasticsearch is awesome"}'
elasticsearch
analyze
text
elasticsearch-certutil cert --ca elastic-stack-ca.p12
elasticsearch
security
cert
elasticsearch-keystore create
elasticsearch
security
keystore
elasticsearch-setup-passwords interactive
elasticsearch
security
passwords
Missing a command?
Help us improve this collection by suggesting commands that should be added. Your contributions help the entire developer community!