# Need help: amazon\_es is installed but still getting error that the plugin is not installed

**URL:** <https://discuss.elastic.co/t/need-help-amazon-es-is-installed-but-still-getting-error-that-the-plugin-is-not-installed/300648>\
**Category:** Logstash\
**Created:** [March 24, 2022, 11:53pm UTC](https://discuss.elastic.co/t/need-help-amazon-es-is-installed-but-still-getting-error-that-the-plugin-is-not-installed/300648 "2022-03-24T23:53:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dontusk1980](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@dontusk1980](https://discuss.elastic.co/u/dontusk1980)\
**Post date:** [March 24, 2022, 11:53pm UTC](https://discuss.elastic.co/t/need-help-amazon-es-is-installed-but-still-getting-error-that-the-plugin-is-not-installed/300648/1 "2022-03-24T23:53:11Z")

</div>

Hi team,

installed logstash-plugin install logstash-output-amazon\_es, but once restarted the logstash, log says not installed, detailed logs are as below

[root@ip-10-33-89-199 bin]# ./logstash --version  
Using JAVA\_HOME defined java: /usr/lib/jvm/jre-1.8.0  
WARNING: Using JAVA\_HOME while Logstash distribution comes with a bundled JDK.  
DEPRECATION: The use of JAVA\_HOME is now deprecated and will be removed starting from 8.0. Please configure LS\_JAVA\_HOME instead.  
**logstash 7.17.1**

/usr/share/logstash/bin/logstash-plugin install logstash-output-amazon\_es  
Using JAVA\_HOME defined java: /usr/lib/jvm/jre-1.8.0  
WARNING: Using JAVA\_HOME while Logstash distribution comes with a bundled JDK.  
DEPRECATION: The use of JAVA\_HOME is now deprecated and will be removed starting from 8.0. Please configure LS\_JAVA\_HOME instead.  
Validating logstash-output-amazon\_es  
Resolving mixin dependencies  
Installing logstash-output-amazon\_es  
Installation successful

**error logs**

[ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"Java::JavaLang::IllegalStateException", :message=\>"Unable to configure plugins: (PluginLoadingError) Couldn't find any output plugin named 'amazon\_es'. Are you sure this is correct? Trying to load the amazon\_es output plugin resulted in this error: Unable to load the requested plugin named amazon\_es of type output. The plugin is not installed.", :backtrace=\>["org.logstash.config.ir.CompiledPipeline.(CompiledPipeline.java:120)", "org.logstash.execution.JavaBasePipelineExt.initialize(JavaBasePipelineExt.java:86)", "org.logstash.execution.JavaBasePipelineExt$INVOKER$i$1$0$initialize.call(JavaBasePipelineExt$INVOKER$i$1$0$initialize.gen)", "org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:837)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:1169)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuperSplatArgs(IRRuntimeHelpers.java:1156)", "org.jruby.ir.targets.InstanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:39)", "usr.share.logstash.logstash\_minus\_core.lib.logstash.java\_pipeline.RUBY$method$initialize$0(/usr/share/logstash/logstash-core/lib/logstash/java\_pipeline.rb:47)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)", "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:333)", "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)", "org.jruby.RubyClass.newInstance(RubyClass.java:939)", "org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)", "usr.share.logstash.logstash\_minus\_core.lib.logstash.pipeline\_action.create.RUBY$method$execute$0(/usr/share/logstash/logstash-core/lib/logstash/pipeline\_action/create.rb:52)", "usr.share.logstash.logstash\_minus\_core.lib.logstash.pipeline\_action.create.RUBY$method$execute$0$ **VARARGS** (/usr/share/logstash/logstash-core/lib/logstash/pipeline\_action/create.rb:50)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)", "usr.share.logstash.logstash\_minus\_core.lib.logstash.agent.RUBY$block$converge\_state$2(/usr/share/logstash/logstash-core/lib/logstash/agent.rb:383)", "org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:138)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:58)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:52)", "org.jruby.runtime.Block.call(Block.java:139)", "org.jruby.RubyProc.call(RubyProc.java:318)", "org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:105)", "java.base/java.lang.Thread.run(Thread.java:829)"]}  
Mar 24 23:47:39 ip-10-33-89-199 logstash: warning: thread "Converge PipelineAction::Create" terminated with exception (report\_on\_exception is true):  
Mar 24 23:47:39 ip-10-33-89-199 logstash: LogStash::Error: Don't know how to handle `Java::JavaLang::IllegalStateException` for `PipelineAction::Create<main>`  
Mar 24 23:47:39 ip-10-33-89-199 logstash: create at org/logstash/execution/ConvergeResultExt.java:135  
Mar 24 23:47:39 ip-10-33-89-199 logstash: add at org/logstash/execution/ConvergeResultExt.java:60  
Mar 24 23:47:39 ip-10-33-89-199 logstash: converge\_state at /usr/share/logstash/logstash-core/lib/logstash/agent.rb:396  
Mar 24 23:47:39 ip-10-33-89-199 logstash: [2022-03-24T23:47:39,537][ERROR][logstash.agent] An exception happened when converging configuration {:exception=\>LogStash::Error, :message=\>"Don't know how to handle `Java::JavaLang::IllegalStateException` for `PipelineAction::Create<main>`"}  
Mar 24 23:47:39 ip-10-33-89-199 logstash: [2022-03-24T23:47:39,548][FATAL][logstash.runner] An unexpected error occurred! {:error=\>#\<LogStash::Error: Don't know how to handle `Java::JavaLang::IllegalStateException` for `PipelineAction::Create<main>`\>, :backtrace=\>["org/logstash/execution/ConvergeResultExt.java:135:in `create'", "org/logstash/execution/ConvergeResultExt.java:60:in `add'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:396:in `blockin converge\_state'"]}  
Mar 24 23:47:39 ip-10-33-89-199 logstash: [2022-03-24T23:47:39,559][FATAL][org.logstash.Logstash] Logstash stopped processing because of an error: (SystemExit) exit  
Mar 24 23:47:39 ip-10-33-89-199 logstash: org.jruby.exceptions.SystemExit: (SystemExit) exit  
Mar 24 23:47:39 ip-10-33-89-199 logstash: at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.20.1.jar:?]  
Mar 24 23:47:39 ip-10-33-89-199 logstash: at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.20.1.jar:?]  
Mar 24 23:47:39 ip-10-33-89-199 logstash: at usr.share.logstash.lib.bootstrap.environment.(/usr/share/logstash/lib/bootstrap/environment.rb:94) ~[?:?]  
Mar 24 23:47:39 ip-10-33-89-199 systemd: logstash.service: main process exited, code=exited, status=1/FAILURE  
Mar 24 23:47:39 ip-10-33-89-199 systemd: Unit logstash.service entered failed state.  
Mar 24 23:47:39 ip-10-33-89-199 systemd: logstash.service failed.

---

<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:** [April 21, 2022, 11:54pm UTC](https://discuss.elastic.co/t/need-help-amazon-es-is-installed-but-still-getting-error-that-the-plugin-is-not-installed/300648/2 "2022-04-21T23:54:07Z")

</div>

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