after restarting elasticsearch code example
Example: how to restart elasticsearch node
sudo service elasticsearch.service status -l
sudo service elasticsearch.service restart
Restart Elasticsearch services ^^
sudo service elasticsearch.service status -l
sudo service elasticsearch.service restart
Restart Elasticsearch services ^^