How to Start, Stop, and Restart Elasticsearch Server in Linux

elasticsearch server

In this post, we will discuss some commands about Elasticsearch servers.

Start Elasticsearch Server :

sudo systemctl start elasticsearch.service

Stop Elasticsearch Server :

sudo systemctl stop elasticsearch.service

Restart Elasticsearch Server :

sudo systemctl restart elasticsearch.service

Status Elasticsearch Server :

sudo systemctl status elasticsearch.service

If Elasticsearch is running then the output is:-

elasticsearch status

Leave a Reply

WC Captcha + 25 = 35