# Not able to fetch logs from S3 using Logstash 6.2.4

**URL:** <https://discuss.elastic.co/t/not-able-to-fetch-logs-from-s3-using-logstash-6-2-4/134791>\
**Category:** Logstash\
**Created:** [June 6, 2018, 11:31am UTC](https://discuss.elastic.co/t/not-able-to-fetch-logs-from-s3-using-logstash-6-2-4/134791 "2018-06-06T11:31:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepak\_Jangid](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@Deepak\_Jangid](https://discuss.elastic.co/u/Deepak_Jangid)\
**Post date:** [June 6, 2018, 11:31am UTC](https://discuss.elastic.co/t/not-able-to-fetch-logs-from-s3-using-logstash-6-2-4/134791/1 "2018-06-06T11:31:16Z")

</div>

Hello all,

I am using Logstash 6.2.4 to fetch logs from s3-location. These are my configurations:  
input {  
s3 {  
access\_key\_id =\> "#########"  
secret\_access\_key =\> "#########"  
bucket =\> "mybucket"  
region =\> "us-east-1"  
endpoint =\> "[http://s3.us-east-1.amazonaws.com](http://s3.us-east-1.amazonaws.com)"  
codec =\> "json"  
}  
}  
output {  
stdout { codec =\> rubydebug }  
}

This particular piece of configuration working with Logstash 1.5. But while using Logstash 6.2.4, neither I am getting an error nor it is fetching logs from the location.  
The console just gets stuck with the following INFO message:

> [2018-06-06T16:52:19,355][INFO][logstash.inputs.s3] Using default generated file for the sincedb {:filename=\>"/home/abhi/Downloads/logstash 6.2.4/data/plugins/inputs/s3/sincedb\_c4b392644e34f277777a389597720021"}

Please share your inputs on this issue, what can go wrong here.  
Thanks

---

<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:** [July 4, 2018, 11:31am UTC](https://discuss.elastic.co/t/not-able-to-fetch-logs-from-s3-using-logstash-6-2-4/134791/2 "2018-07-04T11:31:16Z")

</div>

Closed on July 4, 2018, 11:31am UTC

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