# Read S3 data and index using Elastic Agent

**URL:** <https://discuss.elastic.co/t/read-s3-data-and-index-using-elastic-agent/367040>\
**Category:** Elastic Agent\
**Created:** [September 24, 2024, 12:43pm UTC](https://discuss.elastic.co/t/read-s3-data-and-index-using-elastic-agent/367040 "2024-09-24T12:43:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naresh\_Kumar1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/naresh_kumar1/32/124342_2.png) [@Naresh\_Kumar1](https://discuss.elastic.co/u/Naresh_Kumar1)\
**Post date:** [September 24, 2024, 12:43pm UTC](https://discuss.elastic.co/t/read-s3-data-and-index-using-elastic-agent/367040/1 "2024-09-24T12:43:09Z")

</div>

Hi,

Currently, I am pushing the lambda logs to the S3 bucket using the AWS firehose extension and it was working fine and logs are available in the S3 bucket.

- id: aws-s3-aws.s3access  
type: aws-s3  
data\_stream:  
dataset: aws.s3access  
type: logs  
queue\_url: null  
max\_number\_of\_messages: 5  
tags:
  - forwarded
  - aws-s3access  
publisher\_pipeline.disable\_host: true

I am using the elastic standalone agent and I gave the below inputs but it is not reading. How to set up the index configuration? I need to read the s3 object and parse that and write to the index.
