Skip to content

Instantly share code, notes, and snippets.

@dnsang
Created June 9, 2015 03:02
Show Gist options
  • Save dnsang/40ef86cf4abeec41cd32 to your computer and use it in GitHub Desktop.
Save dnsang/40ef86cf4abeec41cd32 to your computer and use it in GitHub Desktop.
ElasticSearch - Useful Rest Command
#node info
http://10.30.58.160:9210/_nodes/process?pretty
#disable for bulk indexing
curl -XPUT 'localhost:9210/_settings' -d '
{
"index" : {
"refresh_interval" : "60s"
}
}'
#check settings is fine
curl http://localhost:9210/_settings
#delete all index
curl -XDELETE 'http://localhost:9210/*/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment