root@dev01:~# service logstash stop
root@dev01:~# service logstash status
● logstash.service - logstash
Loaded: loaded (/etc/systemd/system/logstash.service; enabled; vendor preset:
Active: failed (Result: exit-code) since Tue 2017-07-04 16:24:01 IST; 3s ago
Process: 2068 ExecStart=/usr/share/logstash/bin/logstash --path.settings /etc/
Main PID: 2068 (code=exited, status=143)
Jul 04 16:23:58 dev01 systemd[1]: logstash.service: Service hold-off time over,
Jul 04 16:23:58 dev01 systemd[1]: Stopped logstash.
Jul 04 16:23:58 dev01 systemd[1]: Started logstash.
Jul 04 16:24:01 dev01 systemd[1]: Stopping logstash...
Jul 04 16:24:01 dev01 systemd[1]: logstash.service: Main process exited, code=ex
Jul 04 16:24:01 dev01 systemd[1]: Stopped logstash.
Jul 04 16:24:01 dev01 systemd[1]: logstash.service: Unit entered failed state.
Jul 04 16:24:01 dev01 systemd[1]: logstash.service: Failed with result 'exit-cod