# Process events in reverse order

**URL:** <https://discuss.elastic.co/t/process-events-in-reverse-order/35952>\
**Category:** Logstash\
**Created:** [November 30, 2015, 8:54pm UTC](https://discuss.elastic.co/t/process-events-in-reverse-order/35952 "2015-11-30T20:54:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![devkmsg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devkmsg/32/5850_2.png) [@devkmsg](https://discuss.elastic.co/u/devkmsg)\
**Post date:** [November 30, 2015, 8:54pm UTC](https://discuss.elastic.co/t/process-events-in-reverse-order/35952/1 "2015-11-30T20:54:51Z")

</div>

I'm wondering if there is something out there that will process events from a queue in reverse order, that is, newest to oldest.

It would be very convenient to process logs in this way, where the newest are the most relevant.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 1, 2015, 6:57am UTC](https://discuss.elastic.co/t/process-events-in-reverse-order/35952/2 "2015-12-01T06:57:21Z")

</div>

That would mostly depend on the queue. Queues are typically FIFO.

---

<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:** [July 6, 2017, 5:20am UTC](https://discuss.elastic.co/t/process-events-in-reverse-order/35952/3 "2017-07-06T05:20:39Z")

</div>

Closed on July 6, 2017, 5:20am UTC


