# Aggregate filter question

**URL:** <https://discuss.elastic.co/t/aggregate-filter-question/255250>\
**Category:** Elasticsearch\
**Created:** [November 12, 2020, 6:49pm UTC](https://discuss.elastic.co/t/aggregate-filter-question/255250 "2020-11-12T18:49:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohsin106](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohsin106/32/65203_2.png) [@mohsin106](https://discuss.elastic.co/u/mohsin106)\
**Post date:** [November 12, 2020, 6:49pm UTC](https://discuss.elastic.co/t/aggregate-filter-question/255250/1 "2020-11-12T18:49:32Z")

</div>

Hi, on the aggregate filter page the following is stated under the [How it works](https://www.elastic.co/guide/en/logstash/current/plugins-filters-aggregate.html#plugins-filters-aggregate-howitworks) section:

**" an aggregate map is tied to one task\_id value which is tied to one task\_id pattern. So if you have 2 filters with different task\_id patterns, even if you have same task\_id value, they won’t share the same aggregate map."**

I'm not understanding what this means. Can anyone please provide an example of this rule?

Thank you.

---

<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:** [December 10, 2020, 6:49pm UTC](https://discuss.elastic.co/t/aggregate-filter-question/255250/2 "2020-12-10T18:49:39Z")

</div>

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