hello,
we're using elastic.co cloud service, platinum license.
we want to snapshot logs to S3 bucket.
repository-s3 is installed on the server.
when using the devtools with this command:
PUT /_snapshot/s3_snapshot1
{
"type": "s3",
"settings": {
"bucket": "BUCKET_NAME",
"region": "eu-west-1",
"access_key": "XXXXXXXXXXXXXXXXXXXXXXXXX",
"secret_key": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"compress": "true"
}
}
(of course, changing the keys and bucket)
i get this error:
#! Deprecation: Using s3 access/secret key from repository settings. Instead store these in named clients and the elasticsearch keystore for secure settings.
{
"acknowledged" : true
}
how do i do that? all guides i founds seems to talk about doing it from command line.
would appreciate your help!
thanks