# Stopping logstash always enters failed status

**URL:** https://discuss.elastic.co/t/stopping-logstash-always-enters-failed-status/237713
**Category:** Logstash
**Created:** [June 19, 2020, 1:28am UTC](https://discuss.elastic.co/t/stopping-logstash-always-enters-failed-status/237713 "2020-06-19T01:28:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![azteker](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@azteker](https://discuss.elastic.co/u/azteker)
#### Post date: [June 19, 2020, 1:28am UTC](https://discuss.elastic.co/t/stopping-logstash-always-enters-failed-status/237713/1 "2020-06-19T01:28:01Z")

</div>

I stop logstash with "systemctl stop logstash"  
This is what "systemctl status logstash" returns  
● logstash.service - logstash  
Loaded: loaded (/etc/systemd/system/logstash.service; enabled; vendor preset: disabled)  
Active: failed (Result: exit-code) since Fri 2020-06-19 01:21:29 UTC; 3min 26s ago  
Process: 28377 ExecStart=/usr/share/logstash/bin/logstash --path.settings /etc/logstash (code=exited, status=143)  
Main PID: 28377 (code=exited, status=143)

```
Jun 19 01:21:19 elk.novalocal systemd[1]: Started logstash.
Jun 19 01:21:28 elk.novalocal systemd[1]: Stopping logstash...
Jun 19 01:21:29 elk.novalocal systemd[1]: logstash.service: main process exited, code=exited, status=143/n/a
Jun 19 01:21:29 elk.novalocal systemd[1]: Stopped logstash.
Jun 19 01:21:29 elk.novalocal systemd[1]: Unit logstash.service entered failed state.
Jun 19 01:21:29 elk.novalocal systemd[1]: logstash.service failed.
```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 17, 2020, 1:28am UTC](https://discuss.elastic.co/t/stopping-logstash-always-enters-failed-status/237713/2 "2020-07-17T01:28:05Z")

</div>

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