# Kibana doesn't see new index from elastic

**URL:** <https://discuss.elastic.co/t/kibana-doesnt-see-new-index-from-elastic/164027>\
**Category:** Kibana\
**Created:** [January 13, 2019, 9:35am UTC](https://discuss.elastic.co/t/kibana-doesnt-see-new-index-from-elastic/164027 "2019-01-13T09:35:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Necus](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@Necus](https://discuss.elastic.co/u/Necus)\
**Post date:** [January 13, 2019, 9:35am UTC](https://discuss.elastic.co/t/kibana-doesnt-see-new-index-from-elastic/164027/1 "2019-01-13T09:35:42Z")

</div>

Hi,  
I have created new index template on elastic search:  
"PUT /\_template/abc  
{  
"index\_patterns": ["abc\*"],  
"mappings" : {  
"\_doc" : {  
"properties" : {  
"@timestamp" : {  
"type" : "date"  
},  
"@version" : {  
"type" : "text",  
"fields" : {  
"keyword" : {  
"type" : "keyword",  
"ignore\_above" : 256  
}  
}  
},  
"host" : {  
"type": "ip"  
},  
"message" : {  
"type" : "text",  
"fields" : {  
"keyword" : {  
"type" : "keyword",  
"ignore\_above" : 256  
}  
}  
},  
"type" : {  
"type" : "text",  
"fields" : {  
"keyword" : {  
"type" : "keyword",  
"ignore\_above" : 256  
}  
}  
}  
}  
}  
},  
"aliases" : {  
"abc123":{}  
}  
}  
As you can see I have change only one field "ip" from default template. Elastic search creates new index, based on this template, but Kibana doesn't wan't to see it - through "create index pattern" option. Any ideas?  
Other indexes from elastic, the default ones, work accordingly.

Should I change anything on elasticsearch configuration or kibana to use custom templates?

---

<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 13, 2019, 11:24am UTC](https://discuss.elastic.co/t/kibana-doesnt-see-new-index-from-elastic/164027/2 "2019-01-13T11:24:12Z")

</div>

Have you created an index using this template and added some data to it? What does the cat index API show, e.g. `GET _cat/indices/abc*`?

---

<div class="post-metadata">

**Author:** ![Necus](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@Necus](https://discuss.elastic.co/u/Necus)\
**Post date:** [January 13, 2019, 11:31am UTC](https://discuss.elastic.co/t/kibana-doesnt-see-new-index-from-elastic/164027/3 "2019-01-13T11:31:52Z")

</div>

Yes, new data is in this new index.

yellow open abc-2019.01.13 5PJtgbTuadKQMidlTx9Uww 5 1 0 0 1.2kb 1.2kb

Or maybe I should start from the beginning and changing type through template in logstash like on this page suggests: "[https://stackoverflow.com/questions/32607500/data-type-ip-in-elasticsearch#32614617](https://stackoverflow.com/questions/32607500/data-type-ip-in-elasticsearch#32614617)" ?

---

<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 13, 2019, 11:34am UTC](https://discuss.elastic.co/t/kibana-doesnt-see-new-index-from-elastic/164027/4 "2019-01-13T11:34:17Z")

</div>

That index has 0 documents in it. Can you try adding one to see if that changes things?

---

<div class="post-metadata">

**Author:** ![Necus](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@Necus](https://discuss.elastic.co/u/Necus)\
**Post date:** [January 13, 2019, 5:36pm UTC](https://discuss.elastic.co/t/kibana-doesnt-see-new-index-from-elastic/164027/5 "2019-01-13T17:36:35Z")

</div>

Mea maxima culpa  
For some reason i have used mappings: {\_doc}, while i should use {doc}.

Can you tell me what is the difference and which one should I use? Is one deprecated?

---

<div class="post-metadata">

**Author:** ![Necus](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@Necus](https://discuss.elastic.co/u/Necus)\
**Post date:** [January 13, 2019, 5:56pm UTC](https://discuss.elastic.co/t/kibana-doesnt-see-new-index-from-elastic/164027/6 "2019-01-13T17:56:16Z")

</div>

And in your opinion which one option in creating index should I use, json file in logstash configuration or changes through elastic search/kibana interface directly on database?

---

<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:** [February 10, 2019, 5:56pm UTC](https://discuss.elastic.co/t/kibana-doesnt-see-new-index-from-elastic/164027/7 "2019-02-10T17:56:16Z")

</div>

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