Hi,all:
I could not install logstash plugin on windows 7. Here are my steps:
- download logstash zip and unzip it.
- open cmd and move to \logstash-5.4.1\bin
- logstash-plugin install logstash-input-heroku
But it gives me there errors:
c:\logstash-5.4.1\bin>logstash-plugin install logstash-input-heroku
Validating logstash-input-heroku
Encoding::UndefinedConversionError: ""\xFB|"" from UTF-16LE to ASCII-8BIT
encode at org/jruby/RubyString.java:7623
initialize at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/win32/reg
istry.rb:172
exception at org/jruby/RubyException.java:112
check at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/win32/reg
istry.rb:228
QueryValue at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/win32/reg
istry.rb:281
read at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/win32/reg
istry.rb:584
read_s at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/win32/reg
istry.rb:634
get_info at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/win32/res
olv.rb:147
open at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/win32/reg
istry.rb:386
open at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/win32/reg
istry.rb:493
get_info at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/win32/res
olv.rb:137
get_resolv_info at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/win32/res
olv.rb:20
default_config_hash at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/resolv.rb
:909
lazy_initialize at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/resolv.rb
:926
synchronize at org/jruby/ext/thread/Mutex.java:149
lazy_initialize at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/resolv.rb
:919
lazy_initialize at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/resolv.rb
:347
synchronize at org/jruby/ext/thread/Mutex.java:149
lazy_initialize at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/resolv.rb
:345
each_resource at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/resolv.rb
:499
getresource at C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/resolv.rb
:480
api_endpoint at C:/logstash-5.4.1/vendor/jruby/lib/ruby/shared/rubyge
ms/remote_fetcher.rb:92
api_uri at C:/logstash-5.4.1/vendor/jruby/lib/ruby/shared/rubyge
ms/source.rb:46
load_specs at C:/logstash-5.4.1/vendor/jruby/lib/ruby/shared/rubyge
ms/source.rb:182
tuples_for at C:/logstash-5.4.1/vendor/jruby/lib/ruby/shared/rubyge
ms/spec_fetcher.rb:261
available_specs at C:/logstash-5.4.1/vendor/jruby/lib/ruby/shared/rubyge
ms/spec_fetcher.rb:226
each at org/jruby/RubyArray.java:1613
each_source at C:/logstash-5.4.1/vendor/jruby/lib/ruby/shared/rubyge
ms/source_list.rb:97
available_specs at C:/logstash-5.4.1/vendor/jruby/lib/ruby/shared/rubyge
ms/spec_fetcher.rb:222
search_for_dependency at C:/logstash-5.4.1/vendor/jruby/lib/ruby/shared/rubyge
ms/spec_fetcher.rb:102
spec_for_dependency at C:/logstash-5.4.1/vendor/jruby/lib/ruby/shared/rubyge
ms/spec_fetcher.rb:166
logstash_plugin? at c:/logstash-5.4.1/lib/pluginmanager/util.rb:28
validate_plugin at c:/logstash-5.4.1/lib/pluginmanager/install.rb:89
verify_remote! at c:/logstash-5.4.1/lib/pluginmanager/install.rb:83
each at org/jruby/RubyArray.java:1613
verify_remote! at c:/logstash-5.4.1/lib/pluginmanager/install.rb:81
execute at c:/logstash-5.4.1/lib/pluginmanager/install.rb:58
run at c:/logstash-5.4.1/vendor/bundle/jruby/1.9/gems/clamp-
0.6.5/lib/clamp/command.rb:67
execute at c:/logstash-5.4.1/vendor/bundle/jruby/1.9/gems/clamp-
0.6.5/lib/clamp/subcommand/execution.rb:11
run at c:/logstash-5.4.1/vendor/bundle/jruby/1.9/gems/clamp-
0.6.5/lib/clamp/command.rb:67
run at c:/logstash-5.4.1/vendor/bundle/jruby/1.9/gems/clamp-
0.6.5/lib/clamp/command.rb:132
(root) at c:\logstash-5.4.1\lib\pluginmanager\main.rb:48
I also try to install other plugin but it shows the same error messages.
Could anyone give me suggestion?