I install the x-pack and start logstash but got the error.
Error is
Sending Logstash's logs to /usr/local/logstash/logs which is now configured via log4j2.properties
[2017-02-24T18:54:14,460][ERROR][logstash.monitoringextension] uninitialized constant LogStash::Setting::ArrayCoercible
[2017-02-24T18:54:14,467][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<NameError: no method 'error' for arguments (org.jruby.RubyArray,org.jruby.RubyHash) on Java::OrgApacheLoggingLog4jCore::Logger
available overloads:
(org.apache.logging.log4j.Marker,java.lang.String,java.lang.Object[])
(org.apache.logging.log4j.Marker,java.lang.String,org.apache.logging.log4j.util.Supplier[])
(java.lang.String,org.apache.logging.log4j.util.Supplier[])
(java.lang.String,java.lang.Object[])>, :backtrace=>["/usr/local/logstash/logstash-core/lib/logstash/logging/logger.rb:56:in `error'", "/usr/local/logstash/vendor/bundle/jruby/1.9/gems/x-pack-5.2.1-java/lib/monitoring/monitoring.rb:148:in `additionals_settings'", "/usr/local/logstash/logstash-core/lib/logstash/plugins/registry.rb:90:in `register'", "/usr/local/logstash/logstash-core/lib/logstash/plugins/registry.rb:109:in `execute_universal_plugins'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/local/logstash/logstash-core/lib/logstash/plugins/registry.rb:107:in `execute_universal_plugins'", "/usr/local/logstash/logstash-core/lib/logstash/plugins/registry.rb:103:in `setup!'", "/usr/local/logstash/logstash-core/lib/logstash/runner.rb:209:in `execute'", "/usr/local/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/usr/local/logstash/logstash-core/lib/logstash/runner.rb:183:in `run'", "/usr/local/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/usr/local/logstash/lib/bootstrap/environment.rb:71:in `(root)'"]}
Logstash version: 5.2.0
x-pack : 5.2.0