# Logstash Aggregate copy last Event to Map

**URL:** <https://discuss.elastic.co/t/logstash-aggregate-copy-last-event-to-map/251149>\
**Category:** Logstash\
**Created:** [October 6, 2020, 2:35pm UTC](https://discuss.elastic.co/t/logstash-aggregate-copy-last-event-to-map/251149 "2020-10-06T14:35:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [October 6, 2020, 2:45pm UTC](https://discuss.elastic.co/t/logstash-aggregate-copy-last-event-to-map/251149/2 "2020-10-06T14:45:31Z")

</div>

> [@siiman](#):
>
> How is it possible to use all fields of the last aggregated event?

[This](https://discuss.elastic.co/t/push-previous-map-as-event-if-fields-exist/250566/2) might help.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-aggregate-copy-last-event-to-map/251149)._
