Problem configuring repository-s3 plugin

Hello,
I have installed Elasticsearch 7.1.1 and also installed repository-s3 plugin.

I'm trying to define the bucket in elasticsearch.yml as below:

s3.client.default.bucket: mybucket

Then after restarting Elasticsearch i'm getting this error:

Exception
java.lang.IllegalArgumentException: unknown setting [s3.client.default.bucket] please check that any required plugins are installed, or check the breaking changes documentation for removed settings.

I am not sure if I'm missing something of it's not allowed anymore.

Regards.

This must be provided when you create the repository. It's not tight to a client anymore.

PUT _snapshot/my_s3_repository
{
  "type": "s3",
  "settings": {
    "bucket": "mybucket"
  }
}

Thanks. Will go with this solution.

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