FortiSIEM
FortiSIEM provides Security Information and Event Management (SIEM) and User and Entity Behavior Analytics (UEBA)
FortiKoala
Staff
Staff
Article Id 193256
Description

How to restart the Elasticsearch service on a Linux server


Scope

Installation and Administration


Solution

You should be logged in with root access to stop and start the Elasticsearch service, for example using the 'sudo -s' command.


On the Centos operating system, the Elasticsearch service can be stopped and restarted using the following commands (the exact service name may vary):


    systemctl stop elasticsearch
    systemctl start elasticsearch


On the Ubuntu operating system, the commands are:


    service elasticsearch stop

    service elasticsearch start


Note you can <TAB>-complete on the name, to get the correct Elasticsearch service name on your system.


You can monitor the progress of Elastisearch starting up in a browser, using a tool such as 'head', 'kopf', 'hq' or 'bigdesk', depending on what is available on your system:


    http://<db_ip_address>:9200/_plugin/head

    http://<db_ip_address>:9200/_plugin/kopf

    http://<db_ip_address>:9200/_plugin/hq

    http://<db_ip_address>:9200/_plugin/bigdesk/#nodes





Contributors