1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-23 21:27:40 +00:00
awesome-cheatsheets/tools/elasticsearch.js
2020-12-31 15:30:21 +01:00

14 lines
787 B
JavaScript

/* *******************************************************************************************
* ELASTICSEARCH
* https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html
* https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html
* ******************************************************************************************* */
sudo service elasticsearch status -l // Check elasticsearch status
sudo service kibana restart // Restart kibana
sudo service elasticsearch restart // Restart elasticsearch
brew services elasticsearch-full restart
sudo /usr/share/elasticsearch/bin/elasticsearch --version // Check ElasticSearch version
sudo /usr/share/kibana/bin/kibana --version // Check kibana version