Created
June 9, 2015 03:02
-
-
Save dnsang/40ef86cf4abeec41cd32 to your computer and use it in GitHub Desktop.
ElasticSearch - Useful Rest Command
This file contains hidden or 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
#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