# Logstash Aggregate filter inside Elasticsearch

**URL:** <https://discuss.elastic.co/t/logstash-aggregate-filter-inside-elasticsearch/320934>\
**Category:** Elasticsearch\
**Created:** [December 9, 2022, 9:53pm UTC](https://discuss.elastic.co/t/logstash-aggregate-filter-inside-elasticsearch/320934 "2022-12-09T21:53:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![watercannons](https://avatars.discourse-cdn.com/v4/letter/w/b2d939/32.png) [@watercannons](https://discuss.elastic.co/u/watercannons)\
**Post date:** [December 9, 2022, 9:53pm UTC](https://discuss.elastic.co/t/logstash-aggregate-filter-inside-elasticsearch/320934/1 "2022-12-09T21:53:11Z")

</div>

Hi, first time on this forum, sorry if this is a duplicate. I'm running into some weird hardware-specific issues running LogStash that's causing the aggregate plugin to not apply on certain events. However, all of the data piecemeal would be uploaded to Elasticsearch, because I'm grouping events w/ aggregate using a unique ID, and all of the different events (regardless if aggregate ran or not) would contain this unique ID. Is there a feature in Elasticsearch similar to the Logstash aggregate filter, where I can smush different uploaded items together based on if one of their fields is the same value or not?

---

<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:** [January 6, 2023, 9:53pm UTC](https://discuss.elastic.co/t/logstash-aggregate-filter-inside-elasticsearch/320934/2 "2023-01-06T21:53:38Z")

</div>

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