# Aggregating json events

**URL:** <https://discuss.elastic.co/t/aggregating-json-events/153408>\
**Category:** Logstash\
**Created:** [October 22, 2018, 1:45pm UTC](https://discuss.elastic.co/t/aggregating-json-events/153408 "2018-10-22T13:45:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IC91](https://avatars.discourse-cdn.com/v4/letter/i/b5e925/32.png) [@IC91](https://discuss.elastic.co/u/IC91)\
**Post date:** [October 22, 2018, 1:45pm UTC](https://discuss.elastic.co/t/aggregating-json-events/153408/1 "2018-10-22T13:45:16Z")

</div>

Hey guys,

So I am using HTTP poller input plugin to get Json formatted replies from two URLs. I want to aggregate the two events based on a common field. Is there any direct plugin to do it? Any help is appreciable. Thanks.

---

<div class="post-metadata">

**Author:** ![redX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/redx/32/21864_2.png) [@redX](https://discuss.elastic.co/u/redX)\
**Post date:** [October 22, 2018, 2:05pm UTC](https://discuss.elastic.co/t/aggregating-json-events/153408/2 "2018-10-22T14:05:31Z")

</div>

With question like this you will not get good answers.

Because:

- Not enough information. It helps if you give information on the data you are consuming, endpoints you are using, version of logstash you are using, operating system in use, etc.
- Your question does not show any effort on your part. This is a community driven site. So everybody is here for free. We will not do your work for you. But we will help.

Have you done some research?  
I suggest:

- Logstash filter documentation: [https://www.elastic.co/guide/en/logstash/current/filter-plugins.html](https://www.elastic.co/guide/en/logstash/current/filter-plugins.html)
- Google: [https://www.google.com/search?q=logstash+aggregate](https://www.google.com/search?q=logstash+aggregate)

I think what you are looking for is the aggregate filter. See [https://www.elastic.co/guide/en/logstash/current/plugins-filters-aggregate.html](https://www.elastic.co/guide/en/logstash/current/plugins-filters-aggregate.html)

---

<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:** [November 19, 2018, 2:05pm UTC](https://discuss.elastic.co/t/aggregating-json-events/153408/3 "2018-11-19T14:05:31Z")

</div>

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