# Logstash Runner Error

**URL:** <https://discuss.elastic.co/t/logstash-runner-error/239704>\
**Category:** Logstash\
**Created:** [July 2, 2020, 8:26pm UTC](https://discuss.elastic.co/t/logstash-runner-error/239704 "2020-07-02T20:26:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_f](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevin_f/32/72456_2.png) [@Kevin\_f](https://discuss.elastic.co/u/Kevin_f)\
**Post date:** [July 2, 2020, 8:26pm UTC](https://discuss.elastic.co/t/logstash-runner-error/239704/1 "2020-07-02T20:26:03Z")

</div>

Hi All,

I am seeing this error in my logstash logs and not sure how to resolve. Some people say to install xpack plugin. My logstash is on version 6.8 and I believe it already comes with xpack by default with this version.

```auto
`[FATAL][logstash.runner] An unexpected error occurred! {:error=>#<ArgumentError: Setting "xpack.monitoring.elasticsearch.hosts" hasn't been registered>, :backtrace=>["/usr/share/logstash/logstash-core/lib/logstash/settings.rb:32:in `get_setting'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:64:in `set_value'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:83:in `merge'", "org/jruby/RubyHash.java:1342:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:83:in `merge'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:135:in `validate_all'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:243:in `execute'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:204:in `run'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/usr/share/logstash/lib/bootstrap/environment.rb:71:in `(root)'"]}`

```

Any ideas please? Thank you

---

<div class="post-metadata">

**Author:** ![Kevin\_f](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevin_f/32/72456_2.png) [@Kevin\_f](https://discuss.elastic.co/u/Kevin_f)\
**Post date:** [July 2, 2020, 9:45pm UTC](https://discuss.elastic.co/t/logstash-runner-error/239704/2 "2020-07-02T21:45:18Z")

</div>

Had to re-install to get it working. Thanks.

---

<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 30, 2020, 9:45pm UTC](https://discuss.elastic.co/t/logstash-runner-error/239704/3 "2020-07-30T21:45:18Z")

</div>

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