# Logstash 6.2.0 - Won't Start & How I fixed it

**URL:** <https://discuss.elastic.co/t/logstash-6-2-0-wont-start-how-i-fixed-it/119556>\
**Category:** Logstash\
**Created:** [February 12, 2018, 10:03pm UTC](https://discuss.elastic.co/t/logstash-6-2-0-wont-start-how-i-fixed-it/119556 "2018-02-12T22:03:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin\_Hamblin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justin_hamblin/32/27663_2.png) [@Justin\_Hamblin](https://discuss.elastic.co/u/Justin_Hamblin)\
**Post date:** [February 12, 2018, 10:03pm UTC](https://discuss.elastic.co/t/logstash-6-2-0-wont-start-how-i-fixed-it/119556/1 "2018-02-12T22:03:17Z")

</div>

RHEL 7 Linux  
Logstash-6.2.0  
X-Pack installed = Yes

I had all kinds of interesting errors starting and sending information to Elasticsearch. Here are the things I changed.

1. Update logstash.yml and add the following.

> xpack.monitoring.enabled: true  
> xpack.monitoring.elasticsearch.url: [http://x.x.x.x:9200](http://x.x.x.x:9200)  
> xpack.monitoring.elasticsearch.username: **elastic\_user**  
> xpack.monitoring.elasticsearch.password: **password**

1. In the output section of your .conf, be sure to add the elastic\_user and password.

> input { stdin { } }  
> output {  
> elasticsearch { hosts =\> ["x.x.x.x:9200"] user=\> **elastic\_user** password =\> **password** }  
> stdout { codec =\> rubydebug }  
> }

---

<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:** [March 12, 2018, 10:16pm UTC](https://discuss.elastic.co/t/logstash-6-2-0-wont-start-how-i-fixed-it/119556/2 "2018-03-12T22:16:51Z")

</div>

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