Logstash status failed,why its not showing logstash is inactive when i stop logstatsh

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

Hi,

What version of LS is being ran here? What OS?

LS - 5.4.3
OS - ubuntu 16.04

What do your OS logs show under the same time frame as the exit code?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.