# Kibana not displaying data of more than one type in a particular index

**URL:** https://discuss.elastic.co/t/kibana-not-displaying-data-of-more-than-one-type-in-a-particular-index/105233
**Category:** Kibana
**Created:** [October 25, 2017, 11:32am UTC](https://discuss.elastic.co/t/kibana-not-displaying-data-of-more-than-one-type-in-a-particular-index/105233 "2017-10-25T11:32:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![raja\_gopal](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@raja\_gopal](https://discuss.elastic.co/u/raja_gopal)
#### Post date: [October 25, 2017, 11:32am UTC](https://discuss.elastic.co/t/kibana-not-displaying-data-of-more-than-one-type-in-a-particular-index/105233/1 "2017-10-25T11:32:41Z")

</div>

Hi,

I have an index called history. I get data into this index through logstash and the data comes under the type clear. Now i am sending few data through perl which collects data from elasticsearch do some processing and finally sends data to the same index under different type. But the data from the new type is not visible in Kibana. What could be the reason ?  
The perl code to add new index is

> my $doc = $es-\>create(index =\> 'history',type =\> 'correlated-events',id =\> 1,body =\> { "events" =\> [@events], "ids" =\> [@ids] });

But if i add it as a new index then it is showing up in Kibana

> my $doc = $es-\>create(index =\> 'correlated-events',type =\> 'correlated-events',id =\> 1,body =\> { "events" =\> [@events], "ids" =\> [@ids] })

---

<div class="post-metadata">

### Author: ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)
#### Post date: [October 25, 2017, 12:54pm UTC](https://discuss.elastic.co/t/kibana-not-displaying-data-of-more-than-one-type-in-a-particular-index/105233/2 "2017-10-25T12:54:33Z")

</div>

Hi @raja_gopal,

which version of the Elastic Stack are you using? Regardless of the version, here are some things you could check:

- Does the `create` call complete successfully or is it rejected (e.g. due to mapping conflicts)?
- Can you retrieve the documents that don't show up in Kibana via a manual query?

---

<div class="post-metadata">

### Author: ![raja\_gopal](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@raja\_gopal](https://discuss.elastic.co/u/raja_gopal)
#### Post date: [October 27, 2017, 9:27am UTC](https://discuss.elastic.co/t/kibana-not-displaying-data-of-more-than-one-type-in-a-particular-index/105233/3 "2017-10-27T09:27:09Z")

</div>

The create command worked successfully and i could see the documents. In the second index if i insert a new document of different type then i don't face this issue.

---

<div class="post-metadata">

### Author: ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)
#### Post date: [October 27, 2017, 10:13am UTC](https://discuss.elastic.co/t/kibana-not-displaying-data-of-more-than-one-type-in-a-particular-index/105233/4 "2017-10-27T10:13:26Z")

</div>

Could you specify "not visible in Kibana" a bit more? Are you using the Discover app or the Visualize app? What do the index patterns for both indices look like (e.g. what are their fields, what is defined as the timestamp field)?

---

<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 24, 2017, 10:13am UTC](https://discuss.elastic.co/t/kibana-not-displaying-data-of-more-than-one-type-in-a-particular-index/105233/5 "2017-11-24T10:13:56Z")

</div>

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