S3 Repository log location


#1

Hello I am working with the docker elkstack, and have installed the S3 repository plugin. When I try to create a repo via the command
curl -X PUT "localhost:9200/_snapshot/my_s3_repository" -H 'Content-Type: application/json' -d'
{
"type": "s3",
"settings": {
"bucket": "datastore-name",
"region": "us-west"
}
}
'
I get a response {"acknowledged":true} but the repo never gets created. I was able to upload a file to the s3 bucket via the aws cli on the machine.

Does the s3 repository plugin write any logs? I checked the logs in /var/log/elasticsearch and did not see anything logged related to aws or s3.


#2

I figured it out. The first command that I noted created the repository as expected. I then just needed to include a snapshot name at the end of the repository and it worked as expected. i.e
curl -X PUT "localhost:9200/_snapshot/my_s3_repository/snapshot1"


(system) #3

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