# Unable to configure plugins

**URL:** <https://discuss.elastic.co/t/unable-to-configure-plugins/226526>\
**Category:** Logstash\
**Created:** [April 4, 2020, 4:44pm UTC](https://discuss.elastic.co/t/unable-to-configure-plugins/226526 "2020-04-04T16:44:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffzhao](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@jeffzhao](https://discuss.elastic.co/u/jeffzhao)\
**Post date:** [April 4, 2020, 4:44pm UTC](https://discuss.elastic.co/t/unable-to-configure-plugins/226526/1 "2020-04-04T16:44:30Z")

</div>

Hi,

I'm using Elasticsearch 1.7 and trying to copy documents from old index to new index using Logstash 7.6.

Here is my configuration file:

```auto
input {
  # We read from the "old" cluster
  elasticsearch {
    hosts => ["vip-qi-rpt-cluster-beta.integ.abc.com:443"]
    index => "quality_intelligence_completed_count_2020_feb"
    size => 500
    scroll => "5m"
    docinfo => true
  }
}

output {
  # We write to the "new" cluster
  elasticsearch {
    hosts => "vip-qi-rpt-cluster-beta.integ.abc.com:443"
    protocol => "http"
    index => "test_quality_intelligence_completed_count_2020_feb"
  }
  # We print dots to see it in action
  stdout {
    codec => "dots"
  }
}

```

I'm getting this error below when executing. Could you advise what went wrong with my configuration? Or is it something related to the logstash version I'm using?

```auto
2020-04-04T16:38:24,227][ERROR][logstash.agent] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"Java::JavaLang::IllegalStateException", :message=>"Unable to configure plugins: (ConfigurationError) Something is wrong with your configuration.", :backtrace=>["org.logstash.config.ir.CompiledPipeline.<init>(CompiledPipeline.java:103)", "org.logstash.execution.JavaBasePipelineExt.initialize(JavaBasePipelineExt.java:60)", "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)", "local.home.zjeffrey.logstash_minus_7_dot_6_dot_2.logstash_minus_core.lib.logstash.java_pipeline.RUBY$method$initialize$0(/local/home/zjeffrey/logstash-7.6.2/logstash-core/lib/logstash/java_pipeline.rb:27)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:84)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)", "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)", "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:86)", "org.jruby.RubyClass.newInstance(RubyClass.java:915)", "org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:183)", "local.home.zjeffrey.logstash_minus_7_dot_6_dot_2.logstash_minus_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0(/local/home/zjeffrey/logstash-7.6.2/logstash-core/lib/logstash/pipeline_action/create.rb:36)", "local.home.zjeffrey.logstash_minus_7_dot_6_dot_2.logstash_minus_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0$ __VARARGS__ (/local/home/zjeffrey/logstash-7.6.2/logstash-core/lib/logstash/pipeline_action/create.rb)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:84)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:183)", "local.home.zjeffrey.logstash_minus_7_dot_6_dot_2.logstash_minus_core.lib.logstash.agent.RUBY$block$converge_state$2(/local/home/zjeffrey/logstash-7.6.2/logstash-core/lib/logstash/agent.rb:326)", "org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:136)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:77)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:71)", "org.jruby.runtime.Block.call(Block.java:125)", "org.jruby.RubyProc.call(RubyProc.java:274)", "org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:105)", "java.lang.Thread.run(Thread.java:748)"]}

```

---

<div class="post-metadata">

**Author:** ![jeffzhao](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@jeffzhao](https://discuss.elastic.co/u/jeffzhao)\
**Post date:** [April 4, 2020, 9:23pm UTC](https://discuss.elastic.co/t/unable-to-configure-plugins/226526/2 "2020-04-04T21:23:51Z")

</div>

Okay. figured it out by myself: I re-installed logstash-1.5.0 and this command is just working fine.

---

<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:** [May 2, 2020, 9:24pm UTC](https://discuss.elastic.co/t/unable-to-configure-plugins/226526/3 "2020-05-02T21:24:08Z")

</div>

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