# S3 input configuration in logstash to get the logs present in zip folder in the bucket

**URL:** <https://discuss.elastic.co/t/s3-input-configuration-in-logstash-to-get-the-logs-present-in-zip-folder-in-the-bucket/110670>\
**Category:** Logstash\
**Created:** [December 7, 2017, 12:32pm UTC](https://discuss.elastic.co/t/s3-input-configuration-in-logstash-to-get-the-logs-present-in-zip-folder-in-the-bucket/110670 "2017-12-07T12:32:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![npasha](https://avatars.discourse-cdn.com/v4/letter/n/9dc877/32.png) [@npasha](https://discuss.elastic.co/u/npasha)\
**Post date:** [December 7, 2017, 12:32pm UTC](https://discuss.elastic.co/t/s3-input-configuration-in-logstash-to-get-the-logs-present-in-zip-folder-in-the-bucket/110670/1 "2017-12-07T12:32:49Z")

</div>

I can get the file present in s3 bucket after configuring logstash, but i dont know how to get the files present in zip or tar.gz folders in s3 bucket.

my logstash s3 input configuration  
input {  
s3 {  
bucket =\> "xxxxxx"  
region =\> "xxxxx"  
access\_key\_id =\> "XXXXXXXXXXXX"  
secret\_access\_key =\> "YYYYYYYYYYYYY"  
}  
}

---

<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:** [January 4, 2018, 12:33pm UTC](https://discuss.elastic.co/t/s3-input-configuration-in-logstash-to-get-the-logs-present-in-zip-folder-in-the-bucket/110670/2 "2018-01-04T12:33:14Z")

</div>

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