This commit is contained in:
kal3v 2018-04-17 21:01:29 +00:00 committed by GitHub
commit dfd3a3cd19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# Aliases for the ELK stack
# General
alias stelk="sudo systemctl status elasticsearch.service; sudo systemctl status logstash; sudo systemctl status kibana.service;"
# open FDs
alias stelsysfs="sysctl fs.file-nr"
# Elastic search cluster health
alias stelh="curl 'localhost:9200/_cluster/health?pretty'"
# Elastic search cluser nodes info
alias stelno="curl 'http://localhost:9200/_cat/nodes?v'"
alias stelproc="curl 'http://localhost:9200/_nodes/_all/process?pretty'"
alias steljvm="curl 'http://localhost:9200/_nodes/_all/jvm?pretty'"
alias stelsh="curl 'http://localhost:9200/_cat/shards"