# Unable start logstash

**URL:** <https://discuss.elastic.co/t/unable-start-logstash/370048>\
**Category:** Elasticsearch\
**Tags:** runtime-fields\
**Created:** [November 5, 2024, 6:19am UTC](https://discuss.elastic.co/t/unable-start-logstash/370048 "2024-11-05T06:19:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santanu112](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@Santanu112](https://discuss.elastic.co/u/Santanu112)\
**Post date:** [November 5, 2024, 6:19am UTC](https://discuss.elastic.co/t/unable-start-logstash/370048/1 "2024-11-05T06:19:01Z")

</div>

PFB my configuration file : input  
{  
dead\_letter\_queue  
{  
path =\> "E:\elk-8.14\elkerrors\QA\FullIndex"  
commit\_offsets =\> true  
pipeline\_id =\> "main"  
}

```
dead_letter_queue
{
path => "E:\elk-8.14\elkerrors\QA\IncrementalIndex"
commit_offsets => true
pipeline_id => "main" 
}

dead_letter_queue
{
path => "E:\elk-8.14\elkerrors\QA\FieldAddition"
commit_offsets => true
pipeline_id => "main" 
}

dead_letter_queue
{
path => "E:\elk-8.14\elkerrors\QA\PartyAddition"
commit_offsets => true
pipeline_id => "main" 
}

```

}

filter {

```
ruby {
    code => "event.set('failed_message', event.to_json())"
}

prune {
    whitelist_names => ["^failed_message$"]
}

json
{
	source =>"failed_message"
	
}

```

mutate {  
add\_field =\> {  
"message" =\> "%{[@metadata][dead\_letter\_queue][reason]}"

```
	}
}

```

}

output  
{  
stdout{}

elasticsearch{

```
	hosts => ["xxxxxxxx"]
	user => "xxx"
	password => "xxxxxxxx"
	cacert => 'xxxxx'

    }

```

}

BUt getting below error

[ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"Java::JavaLang::IllegalStateException", :message=\>"Unable to configure plugins: (RuntimeError) \n\n\tyou might need to reinstall the gem which depends on the missing jar or in case there is Jars.lock then resolve the jars with `lock_jars` command\n\nno such file to load -- co/elastic/logstash/input/logstash-input-dead\_letter\_queue/2.0.0/logstash-input-dead\_letter\_queue-2.0.0.jar (LoadError)", :backtrace=\>["org.logstash.config.ir.CompiledPipeline.(CompiledPipeline.java:120)", "org.logstash.execution.AbstractPipelineExt.initialize(AbstractPipelineExt.java:186)", "org.logstash.execution.AbstractPipelineExt$INVOKER$i$initialize.call(AbstractPipelineExt$INVOKER$i$initialize.gen)", "org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:847)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:1363)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuperSplatArgs(IRRuntimeHelpers.java:1336)", "org.jruby.ir.targets.indy.InstanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:30)", "F\_3a\_.ELK\_8\_dot\_14\_Software.logstash\_minus\_8\_dot\_14\_dot\_2\_minus\_windows\_minus\_x86\_64.logstash\_minus\_8\_dot\_14\_dot\_2.logstash\_minus\_core.lib.logstash.java\_pipeline.RUBY$method$initialize$0(F:/ELK\_8.14\_Software/logstash-8.14.2-windows-x86\_64/logstash-8.14.2/logstash-core/lib/logstash/java\_pipeline.rb:48)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:139)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:112)", "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:446)", "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:92)", "org.jruby.RubyClass.newInstance(RubyClass.java:949)", "org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)", "org.jruby.ir.targets.indy.InvokeSite.performIndirectCall(InvokeSite.java:735)", "org.jruby.ir.targets.indy.InvokeSite.invoke(InvokeSite.java:657)", "F\_3a\_.ELK\_8\_dot\_14\_Software.logstash\_minus\_8\_dot\_14\_dot\_2\_minus\_windows\_minus\_x86\_64.logstash\_minus\_8\_dot\_14\_dot\_2.logstash\_minus\_core.lib.logstash.pipeline\_action.create.RUBY$method$execute$0(F:/ELK\_8.14\_Software/logstash-8.14.2-windows-x86\_64/logstash-8.14.2/logstash-core/lib/logstash/pipeline\_action/create.rb:49)", "F\_3a\_.ELK\_8\_dot\_14\_Software.logstash\_minus\_8\_dot\_14\_dot\_2\_minus\_windows\_minus\_x86\_64.logstash\_minus\_8\_dot\_14\_dot\_2.logstash\_minus\_core.lib.logstash.pipeline\_action.create.RUBY$method$execute$0$ **VARARGS** (F:/ELK\_8.14\_Software/logstash-8.14.2-windows-x86\_64/logstash-8.14.2/logstash-core/lib/logstash/pipeline\_action/create.rb:48)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:139)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:112)", "org.jruby.ir.targets.indy.InvokeSite.performIndirectCall(InvokeSite.java:735)", "org.jruby.ir.targets.indy.InvokeSite.invoke(InvokeSite.java:657)", "F\_3a\_.ELK\_8\_dot\_14\_Software.logstash\_minus\_8\_dot\_14\_dot\_2\_minus\_windows\_minus\_x86\_64.logstash\_minus\_8\_dot\_14\_dot\_2.logstash\_minus\_core.lib.logstash.agent.RUBY$block$converge\_state$2(F:/ELK\_8.14\_Software/logstash-8.14.2-windows-x86\_64/logstash-8.14.2/logstash-core/lib/logstash/agent.rb:386)", "org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:141)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:64)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:58)", "org.jruby.runtime.Block.call(Block.java:144)", "org.jruby.RubyProc.call(RubyProc.java:354)", "org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:111)", "java.base/java.lang.Thread.run(Thread.java:840)"]}  
[2024-11-05T01:17:33,434][INFO][logstash.runner] Logstash shut down.  
[2024-11-05T01:17:33,460][FATAL][org.logstash.Logstash] Logstash stopped processing because of an error: (SystemExit) exit
