# How to Use S3 Bucket to index and retrieve data from Elasticsearch?

**URL:** <https://discuss.elastic.co/t/how-to-use-s3-bucket-to-index-and-retrieve-data-from-elasticsearch/74198>\
**Category:** Beats\
**Created:** [February 7, 2017, 9:58am UTC](https://discuss.elastic.co/t/how-to-use-s3-bucket-to-index-and-retrieve-data-from-elasticsearch/74198 "2017-02-07T09:58:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [February 7, 2017, 9:58am UTC](https://discuss.elastic.co/t/how-to-use-s3-bucket-to-index-and-retrieve-data-from-elasticsearch/74198/1 "2017-02-07T09:58:06Z")

</div>

Hi Please let me know how to index data to elasticsearch and data location to be in s3 bucket and data to be retrieved from s3 bucket.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [February 7, 2017, 3:13pm UTC](https://discuss.elastic.co/t/how-to-use-s3-bucket-to-index-and-retrieve-data-from-elasticsearch/74198/2 "2017-02-07T15:13:55Z")

</div>

So you want to take data from S3 and index it into Elasticsearch?

That sounds like a job for Logtstash, not Beats. Logstash has an [input plugin](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-s3.html) for reading data from S3.

---

<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:** [February 28, 2017, 9:58am UTC](https://discuss.elastic.co/t/how-to-use-s3-bucket-to-index-and-retrieve-data-from-elasticsearch/74198/3 "2017-02-28T09:58:07Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
