# Failed to start Logstash - S3 output plugin is not working

**URL:** <https://discuss.elastic.co/t/failed-to-start-logstash-s3-output-plugin-is-not-working/330096>\
**Category:** Logstash\
**Created:** [April 17, 2023, 6:11am UTC](https://discuss.elastic.co/t/failed-to-start-logstash-s3-output-plugin-is-not-working/330096 "2023-04-17T06:11:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![WonhyeongCho](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wonhyeongcho/32/119884_2.png) [@WonhyeongCho](https://discuss.elastic.co/u/WonhyeongCho)\
**Post date:** [April 17, 2023, 6:11am UTC](https://discuss.elastic.co/t/failed-to-start-logstash-s3-output-plugin-is-not-working/330096/1 "2023-04-17T06:11:06Z")

</div>

Hi. I'm using Logstash.

I recently upgraded Logstash to version 8.7.0, but it's not working. I'm getting an error message.

```auto
Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:OSQUERY, :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 -- org/logstash/plugins/integration/aws/logstash-integration-aws/7.1.0/logstash-integration-aws-7.1.0.jar (LoadError)", :backtrace=>["org.logstash.config.ir.CompiledPipeline.<init>(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:846)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:1229)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuperSplatArgs(IRRuntimeHelpers.java:1202)", "org.jruby.ir.targets.indy.InstanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:29)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$method$initialize$0(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:48)", "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:50)", "usr.share.logstash.logstash_minus_core.lib.logstash.agent.RUBY$block$converge_state$2(/usr/share/logstash/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:143)", "org.jruby.RubyProc.call(RubyProc.java:309)", "org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:107)", "java.base/java.lang.Thread.run(Thread.java:833)"]}

```

Only pipelines that use the s3 output plugin are not working.

Previous Version: 8.5.3

What I tried to do to solve the problem:

- Reinstall Java
- Reinstall Gem
- Reinstall Ruby
- Reinstall Logstash

I did all of these but the problem still persisted.

My S3 Output Plugin Conf.

```auto

output {
    s3 {
        region => "My Region"
        bucket => "My Bucket"

        validate_credentials_on_root_bucket => true 
        temporary_directory => "./_temp/s3/" 
        rotation_strategy => "size_and_time"
        time_file => 10 
        prefix => "ysp/"
        encoding => "gzip"
        retry_count => 3 
        retry_delay => 3
        codec => json_lines
        enable_metric => false
    }
}

```

What should I do?

---

<div class="post-metadata">

**Author:** ![pk.241011](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pk.241011/32/86285_2.png) [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Post date:** [April 19, 2023, 2:37am UTC](https://discuss.elastic.co/t/failed-to-start-logstash-s3-output-plugin-is-not-working/330096/2 "2023-04-19T02:37:38Z")

</div>

> [@WonhyeongCho](#):
>
> Previous Version: 8.5.3

Same story here. Version 8.5.3 worked. But the lastest release 8.7.0 is giving me same error.

I think they will do a bug fix release soon.

---

<div class="post-metadata">

**Author:** ![WonhyeongCho](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wonhyeongcho/32/119884_2.png) [@WonhyeongCho](https://discuss.elastic.co/u/WonhyeongCho)\
**Post date:** [April 27, 2023, 7:50am UTC](https://discuss.elastic.co/t/failed-to-start-logstash-s3-output-plugin-is-not-working/330096/3 "2023-04-27T07:50:40Z")

</div>

Thank you for your response.

Since there are no other responses, I guess I have to wait.

If anyone has solved this problem, please provide an answer.

---

<div class="post-metadata">

**Author:** ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Post date:** [April 27, 2023, 10:21am UTC](https://discuss.elastic.co/t/failed-to-start-logstash-s3-output-plugin-is-not-working/330096/4 "2023-04-27T10:21:03Z")

</div>

@WonhyeongCho Have you raised a bug report for this?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 27, 2023, 1:46pm UTC](https://discuss.elastic.co/t/failed-to-start-logstash-s3-output-plugin-is-not-working/330096/5 "2023-04-27T13:46:17Z")

</div>

> [@pk.241011](#):
>
> Same story here. Version 8.5.3 worked. But the lastest release 8.7.0 is giving me same error.
> 
> I think they will do a bug fix release soon.

Did you open a bug report? Without it Elastic probably doesn't even know about this issue.

You need to open a bug report on the plugin [repository](https://github.com/logstash-plugins/logstash-output-s3)

---

<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 25, 2023, 1:46pm UTC](https://discuss.elastic.co/t/failed-to-start-logstash-s3-output-plugin-is-not-working/330096/6 "2023-05-25T13:46:52Z")

</div>

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