1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-13 16:56:27 +00:00
awesome-cheatsheets/tools/elasticsearch.js

13 lines
746 B
JavaScript
Raw Normal View History

/* *******************************************************************************************
* 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
2020-09-17 09:18:09 +00:00
sudo /usr/share/elasticsearch/bin/elasticsearch --version // Check ElasticSearch version
sudo /usr/share/kibana/bin/kibana --version // Check kibana version