# Can we createchart from different index?

**URL:** https://discuss.elastic.co/t/can-we-createchart-from-different-index/37436
**Category:** Kibana
**Created:** [December 17, 2015, 7:15am UTC](https://discuss.elastic.co/t/can-we-createchart-from-different-index/37436 "2015-12-17T07:15:42Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Amit2015](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@Amit2015](https://discuss.elastic.co/u/Amit2015)
#### Post date: [December 17, 2015, 7:15am UTC](https://discuss.elastic.co/t/can-we-createchart-from-different-index/37436/1 "2015-12-17T07:15:42Z")

</div>

Hi,

I have different index and using that both I want to create chart which can contain both index documents. Basically I want comparison. Is it possible??? Please guide

---

<div class="post-metadata">

### Author: ![Thamizharasu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thamizharasu/32/4112_2.png) [@Thamizharasu](https://discuss.elastic.co/u/Thamizharasu)
#### Post date: [December 17, 2015, 8:20am UTC](https://discuss.elastic.co/t/can-we-createchart-from-different-index/37436/2 "2015-12-17T08:20:54Z")

</div>

Yes it is possible, When you define Kibana chart you have to mention both in the index column. I have already done this with Kibana 3. I hope this would be possible from Kibana 4 as well.

---

<div class="post-metadata">

### Author: ![Amit2015](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@Amit2015](https://discuss.elastic.co/u/Amit2015)
#### Post date: [January 18, 2016, 5:48am UTC](https://discuss.elastic.co/t/can-we-createchart-from-different-index/37436/3 "2016-01-18T05:48:55Z")

</div>

Hi,

Not able to add two indexes. Its taking only one index/pattern. Is there any option??? Suppose I have email data in one index and sms data in other index. I want to see both data in 1 chart, how much for sms and how much for email? How can I get two index data in one chart???

Please help

---

<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: [January 18, 2016, 8:29am UTC](https://discuss.elastic.co/t/can-we-createchart-from-different-index/37436/4 "2016-01-18T08:29:40Z")

</div>

You should be able to create an [index alias](https://www.elastic.co/guide/en/elasticsearch/reference/2.1/indices-aliases.html) on top of the two indices and use that from Kibana.

---

<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 6, 2017, 2:04pm UTC](https://discuss.elastic.co/t/can-we-createchart-from-different-index/37436/5 "2017-07-06T14:04:47Z")

</div>


