# Aggregate on two different Indices in Kibana?

**URL:** <https://discuss.elastic.co/t/aggregate-on-two-different-indices-in-kibana/88397>\
**Category:** Kibana\
**Created:** [June 6, 2017, 10:32am UTC](https://discuss.elastic.co/t/aggregate-on-two-different-indices-in-kibana/88397 "2017-06-06T10:32:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yaswanth](https://avatars.discourse-cdn.com/v4/letter/y/94ad74/32.png) [@Yaswanth](https://discuss.elastic.co/u/Yaswanth)\
**Post date:** [June 6, 2017, 10:32am UTC](https://discuss.elastic.co/t/aggregate-on-two-different-indices-in-kibana/88397/1 "2017-06-06T10:32:46Z")

</div>

Hi,

I have two indices with different names like

```
Index 1 - university
Index 2 - college

```

I know there is possibility to merge two indices if there have common name format using regex .

Is their is any possibility to merge two different indices in kibana for doing aggregations on them?

Thanks

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 6, 2017, 11:45am UTC](https://discuss.elastic.co/t/aggregate-on-two-different-indices-in-kibana/88397/2 "2017-06-06T11:45:10Z")

</div>

You can aggregate across multiple indices assuming they have a suitable structure. Can you give an example of what your data looks like in the two indices, what kind of aggregation you are looking to perform and what the expected results are?

---

<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:** [July 4, 2017, 11:45am UTC](https://discuss.elastic.co/t/aggregate-on-two-different-indices-in-kibana/88397/3 "2017-07-04T11:45:31Z")

</div>

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