Running Kibana with systemd

We need to run the following command if we want to start Kibana automatically after each reboot:

sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable kibana.service

To start Kibana, we need to run the following command:

sudo systemctl start kibana.service

To stop Kibana, we need to run the following command:

sudo systemctl stop kibana.service

The preceding commands do not provide any update in STDOUT telling us whether the command was successful or not. We can see these updates on the Elasticsearch log file that can be found in the /var/log/kibana/ directory.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.86.154