# No index(Doc) display in the created index pattern

**URL:** <https://discuss.elastic.co/t/no-index-doc-display-in-the-created-index-pattern/228629>\
**Category:** Kibana\
**Created:** [April 18, 2020, 8:29am UTC](https://discuss.elastic.co/t/no-index-doc-display-in-the-created-index-pattern/228629 "2020-04-18T08:29:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![m-hadi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-hadi/32/66574_2.png) [@m-hadi](https://discuss.elastic.co/u/m-hadi)\
**Post date:** [April 18, 2020, 8:29am UTC](https://discuss.elastic.co/t/no-index-doc-display-in-the-created-index-pattern/228629/1 "2020-04-18T08:29:12Z")

</div>

Hi  
I created an index pattern after creating an index(with some doc)  
now I can't see this index (relevant documents) in Discover when I select the index pattern.

more info:  
(1- Number of index pattern fields: 254  
2- Number of index Doc: 1563  
3- I can see the Index Content by : GET /indexname/\_search  
4- I expanded my time range but It was not useful)

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 19, 2020, 6:31pm UTC](https://discuss.elastic.co/t/no-index-doc-display-in-the-created-index-pattern/228629/2 "2020-04-19T18:31:14Z")

</div>

> [@m-hadi](#):
>
> creating an index(with some doc)  
> now I can't see this index (relevant documents) in Discover when I select the index pattern.
> 
> more info:

When you define an index pattern, the indices that match that pattern must exist in Elasticsearch and they must contain data. To **check** which **indices** are available, go to Dev Tools \> Console and enter **GET** \_cat/ **indices**. Alternately, use curl -XGET "[http://localhost:9200/\_cat/](http://localhost:9200/_cat/) **indices**"

A simple test would be to follow this tutorial and check results:

> **[Define your index patterns | Kibana Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/kibana/current/tutorial-define-index.html)**

---

<div class="post-metadata">

**Author:** ![m-hadi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-hadi/32/66574_2.png) [@m-hadi](https://discuss.elastic.co/u/m-hadi)\
**Post date:** [April 20, 2020, 5:25am UTC](https://discuss.elastic.co/t/no-index-doc-display-in-the-created-index-pattern/228629/3 "2020-04-20T05:25:12Z")

</div>

I checked in the way you said, but there was no problem with the index. The index was available in elastic.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 20, 2020, 3:46pm UTC](https://discuss.elastic.co/t/no-index-doc-display-in-the-created-index-pattern/228629/4 "2020-04-20T15:46:53Z")

</div>

Hi  
what field you are using as the time field and can you please show an example of a document?

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![m-hadi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-hadi/32/66574_2.png) [@m-hadi](https://discuss.elastic.co/u/m-hadi)\
**Post date:** [April 21, 2020, 12:41pm UTC](https://discuss.elastic.co/t/no-index-doc-display-in-the-created-index-pattern/228629/5 "2020-04-21T12:41:53Z")

</div>

Thank you rashmi  
Your guess about the time problem was correct  
I try new index pattern **without**"Time Filter field name: timestamp\_ms" . now Index documents were displayed on Discovery.  
I don't know why it displays the date 1970, while the date that Twitter gives me is 2020 !?

my twitter date doc without mapping... :

 ![111](https://us1.discourse-cdn.com/elastic/original/3X/6/7/67d5c4a6fd5f1dff7f897c717e03fe8705dc20f5.jpeg)

my twitter date doc with my mapping field... :  
created\_at": {  
"type": "date",  
"fields": {  
"raw": {  
"type": "text"  
}  
},  
"format": "EEE MMM dd HH:mm:ss Z YYYY||epoch\_millis"  
}

 ![2222](https://us1.discourse-cdn.com/elastic/original/3X/8/b/8bcc89d6a137e0cf3ec5eef85f53565be8414bad.jpeg)

---

<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:** [May 19, 2020, 12:41pm UTC](https://discuss.elastic.co/t/no-index-doc-display-in-the-created-index-pattern/228629/6 "2020-05-19T12:41:58Z")

</div>

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