# Is there any way to pass start and end index of file in s3 input plugin

**URL:** <https://discuss.elastic.co/t/is-there-any-way-to-pass-start-and-end-index-of-file-in-s3-input-plugin/206738>\
**Category:** Logstash\
**Created:** [November 6, 2019, 7:16am UTC](https://discuss.elastic.co/t/is-there-any-way-to-pass-start-and-end-index-of-file-in-s3-input-plugin/206738 "2019-11-06T07:16:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adarsh\_Kumar1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adarsh_kumar1/32/46821_2.png) [@Adarsh\_Kumar1](https://discuss.elastic.co/u/Adarsh_Kumar1)\
**Post date:** [November 6, 2019, 7:16am UTC](https://discuss.elastic.co/t/is-there-any-way-to-pass-start-and-end-index-of-file-in-s3-input-plugin/206738/1 "2019-11-06T07:16:32Z")

</div>

I want to read filename and start\_index and end\_index from aws SQS queue (with sqs input plugin ) and pass this information to s3 input plugin that will read the particular file from start\_index and end\_index of file.  
Is there way to achieve this in logstash?

---

<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:** [December 4, 2019, 7:16am UTC](https://discuss.elastic.co/t/is-there-any-way-to-pass-start-and-end-index-of-file-in-s3-input-plugin/206738/2 "2019-12-04T07:16:33Z")

</div>

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