1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-24 05:37:39 +00:00
awesome-cheatsheets/tools/elasticsearch.js
2020-09-17 11:18:09 +02:00

13 lines
746 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 elasticsearch restart // Restart elasticsearch
sudo service kibana restart // Restart kibana
sudo /usr/share/elasticsearch/bin/elasticsearch --version // Check ElasticSearch version
sudo /usr/share/kibana/bin/kibana --version // Check kibana version