# Aggregate similar Logs

**URL:** <https://discuss.elastic.co/t/aggregate-similar-logs/302630>\
**Category:** Logstash\
**Created:** [April 18, 2022, 3:27pm UTC](https://discuss.elastic.co/t/aggregate-similar-logs/302630 "2022-04-18T15:27:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Bo-Wyatt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bo-wyatt/32/87748_2.png) [@Bo-Wyatt](https://discuss.elastic.co/u/Bo-Wyatt)\
**Post date:** [April 22, 2022, 11:39am UTC](https://discuss.elastic.co/t/aggregate-similar-logs/302630/3 "2022-04-22T11:39:32Z")

</div>

Can I merge all the logs to one using aggregate filter? I'm not quite understanding the plugin, in my pipeline I have various filters and mutates to my data (my events come one after the other) Can I keep them? I just want to add the extra fields that each log adds as an update. My thought was not do make a script to curl to Elasticsearch but if there's no other option I can take it.

EDIT: My use case is similar to the explained [here](https://discuss.elastic.co/t/keeping-same-log-events-once-instead-of-multiple-time/239301/2):

---

_[View the full topic](https://discuss.elastic.co/t/aggregate-similar-logs/302630)._
