Created
July 26, 2011 21:55
-
-
Save feliperazeek/1108167 to your computer and use it in GitHub Desktop.
ElasticSearch Aliases
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
export ES_HOME=/opt/elasticsearch | |
alias es-health="curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'" | |
alias es-f="cd $ES_HOME/bin; ./elasticsearch -f" | |
alias es-b="cd $ES_HOME/bin; ./elasticsearch" | |
alias es-conf="vi $ES_HOME/config/elasticsearch.yml" | |
alias es-logs="tail -f $ES_HOME/logs/LOGFILENAME.log" | |
alias es-kill="killall java" # of course if it's the only java process in the box |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment