# Problem with logstash as a service (RHEL)

**URL:** https://discuss.elastic.co/t/problem-with-logstash-as-a-service-rhel/98351
**Category:** Logstash
**Created:** [August 25, 2017, 8:51am UTC](https://discuss.elastic.co/t/problem-with-logstash-as-a-service-rhel/98351 "2017-08-25T08:51:58Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [August 25, 2017, 3:51pm UTC](https://discuss.elastic.co/t/problem-with-logstash-as-a-service-rhel/98351/2 "2017-08-25T15:51:56Z")

</div>

One culprit may be the `logstash.yml` file. If the entries are not correct, _and properly indented from the far left,_ Logstash will not start properly.

[This thread](https://discuss.elastic.co/t/cannot-run-logstash-as-a-service-with-active-pipeline/98244/7?u=theuntergeek) describes exactly this problem, and it solved things for that user.

---

_[View the full topic](https://discuss.elastic.co/t/problem-with-logstash-as-a-service-rhel/98351)._
