# Logstash processing order of S3 Buckets

**URL:** https://discuss.elastic.co/t/logstash-processing-order-of-s3-buckets/218199
**Category:** Logstash
**Created:** [February 6, 2020, 2:40pm UTC](https://discuss.elastic.co/t/logstash-processing-order-of-s3-buckets/218199 "2020-02-06T14:40:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Reid\_Loper](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/reid_loper/32/51129_2.png) [@Reid\_Loper](https://discuss.elastic.co/u/Reid_Loper)
#### Post date: [February 6, 2020, 2:40pm UTC](https://discuss.elastic.co/t/logstash-processing-order-of-s3-buckets/218199/1 "2020-02-06T14:40:25Z")

</div>

I'm architecting a solution where Logstash will process files in an Amazon S3 bucket from multiple sources. Common sense would tell me that Logstash will process these files in a first in, first out order based on the time stamp of the files, but I haven't found any documentation to confirm this.

My plan is to process the files and then either delete or move them to a second bucket so that only unprocessed files are in the source bucket.

Can anyone confirm to me that FIFO is in fact how Logstash processes the files?

Thanks.

---

<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: [March 5, 2020, 2:40pm UTC](https://discuss.elastic.co/t/logstash-processing-order-of-s3-buckets/218199/2 "2020-03-05T14:40:31Z")

</div>

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