# How to read S3 bucket using filebeat and parse in logstash

**URL:** https://discuss.elastic.co/t/how-to-read-s3-bucket-using-filebeat-and-parse-in-logstash/379557
**Category:** Beats
**Tags:** filebeat
**Created:** [June 27, 2025, 8:03am UTC](https://discuss.elastic.co/t/how-to-read-s3-bucket-using-filebeat-and-parse-in-logstash/379557 "2025-06-27T08:03:59Z")
**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:51pm UTC](https://discuss.elastic.co/t/how-to-read-s3-bucket-using-filebeat-and-parse-in-logstash/379557/2 "2025-06-27T18:51:20Z")

</div>

Hi @vijay117

Do you want to use filebeat or logstash or both... which one?

A) filebeat-\>logstash-\>elasticsearch  
B) filebeat-\> elasticsearch  
C) logstash-\>elasticsearch

Filebeat s3 input

> **[AWS S3 input | Beats](https://www.elastic.co/docs/reference/beats/filebeat/filebeat-input-aws-s3)**
>
> Use the aws-s3 input to retrieve logs from S3 objects that are pointed to by S3 notification events read from an SQS queue or directly polling list of...

Logstash s3 input

> **[S3 input plugin | Logstash Plugins](https://www.elastic.co/docs/reference/logstash/plugins/plugins-inputs-s3)**
>
> A component of the aws integration plugin, Integration version: v7.1.8, Released on: 2024-07-26, Changelog. For other versions, see the Versioned plugin...

This looks like a duplicate of

> [@How to Access S3 bucket and list the files using logstash?](https://discuss.elastic.co/t/how-to-access-s3-bucket-and-list-the-files-using-logstash/379562):
>
> How to Access S3 bucket and list the files using logstash

---

_[View the full topic](https://discuss.elastic.co/t/how-to-read-s3-bucket-using-filebeat-and-parse-in-logstash/379557)._
