# How to Access S3 bucket and list the files using logstash?

**URL:** <https://discuss.elastic.co/t/how-to-access-s3-bucket-and-list-the-files-using-logstash/379562>\
**Category:** Logstash\
**Created:** [June 27, 2025, 11:42am UTC](https://discuss.elastic.co/t/how-to-access-s3-bucket-and-list-the-files-using-logstash/379562 "2025-06-27T11:42:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [June 27, 2025, 6:52pm UTC](https://discuss.elastic.co/t/how-to-access-s3-bucket-and-list-the-files-using-logstash/379562/2 "2025-06-27T18:52:45Z")

</div>

Closed as duplicate of

> [@How to read S3 bucket using filebeat and parse in logstash](https://discuss.elastic.co/t/how-to-read-s3-bucket-using-filebeat-and-parse-in-logstash/379557):
>
> Can some one explain how to read the contents of S3 bucket and store in Elasticsearch via logstash

---

_[View the full topic](https://discuss.elastic.co/t/how-to-access-s3-bucket-and-list-the-files-using-logstash/379562)._
