# S3 Repository log location

**URL:** <https://discuss.elastic.co/t/s3-repository-log-location/148386>\
**Category:** Elasticsearch\
**Created:** [September 12, 2018, 10:25pm UTC](https://discuss.elastic.co/t/s3-repository-log-location/148386 "2018-09-12T22:25:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mishaua](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mishaua](https://discuss.elastic.co/u/mishaua)\
**Post date:** [September 12, 2018, 10:25pm UTC](https://discuss.elastic.co/t/s3-repository-log-location/148386/1 "2018-09-12T22:25:19Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mishaua](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mishaua](https://discuss.elastic.co/u/mishaua)\
**Post date:** [September 18, 2018, 7:54pm UTC](https://discuss.elastic.co/t/s3-repository-log-location/148386/2 "2018-09-18T19:54:09Z")

</div>

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"

---

<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:** [October 16, 2018, 7:54pm UTC](https://discuss.elastic.co/t/s3-repository-log-location/148386/3 "2018-10-16T19:54:12Z")

</div>

Closed on October 16, 2018, 7:54pm UTC

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