# Could create Index Patterns for new index

**URL:** <https://discuss.elastic.co/t/could-create-index-patterns-for-new-index/158451>\
**Category:** Elasticsearch\
**Created:** [November 28, 2018, 3:49am UTC](https://discuss.elastic.co/t/could-create-index-patterns-for-new-index/158451 "2018-11-28T03:49:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayne\_Du](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@Wayne\_Du](https://discuss.elastic.co/u/Wayne_Du)\
**Post date:** [November 28, 2018, 3:49am UTC](https://discuss.elastic.co/t/could-create-index-patterns-for-new-index/158451/1 "2018-11-28T03:49:26Z")

</div>

After I create new index with python API, when I create Index Patterns for this new index, but i could not find out the new index, I can search this index in DEV Tool with command get /index\_name/\_mapping, and the new index status is open.

Is there anyone could help to find out the reason ?

Thanks so much.

---

<div class="post-metadata">

**Author:** ![mjunaidmuzammil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mjunaidmuzammil/32/56910_2.png) [@mjunaidmuzammil](https://discuss.elastic.co/u/mjunaidmuzammil)\
**Post date:** [November 28, 2018, 4:29am UTC](https://discuss.elastic.co/t/could-create-index-patterns-for-new-index/158451/2 "2018-11-28T04:29:27Z")

</div>

What is the index name that you have created and what pattern are you using for this index?

---

<div class="post-metadata">

**Author:** ![Wayne\_Du](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@Wayne\_Du](https://discuss.elastic.co/u/Wayne_Du)\
**Post date:** [November 28, 2018, 4:39am UTC](https://discuss.elastic.co/t/could-create-index-patterns-for-new-index/158451/3 "2018-11-28T04:39:57Z")

</div>

The index name is "dpoproblem" and when I click "Create Index Pattern" in Management Page, there is any index match in the below list, so i could not go to next step. In fact, this index existing in Index Management and the status is open

please advise.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/4/54c03ba1fb51dbf32bf21b8750b66b72ea86be48.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/e/ae3f2ba54a27c329658e85f54dfad0ba836eb54b.png)

---

<div class="post-metadata">

**Author:** ![Bernt\_Rostad](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@Bernt\_Rostad](https://discuss.elastic.co/u/Bernt_Rostad)\
**Post date:** [November 28, 2018, 6:14am UTC](https://discuss.elastic.co/t/could-create-index-patterns-for-new-index/158451/4 "2018-11-28T06:14:20Z")

</div>

Your **dpoproblem** index is empty, docs count is 0, so even if it's open it won't show up as an option for Create Index Pattern.

Add one document to the index and you should be able to create your index pattern.

---

<div class="post-metadata">

**Author:** ![Wayne\_Du](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@Wayne\_Du](https://discuss.elastic.co/u/Wayne_Du)\
**Post date:** [November 28, 2018, 9:20am UTC](https://discuss.elastic.co/t/could-create-index-patterns-for-new-index/158451/5 "2018-11-28T09:20:09Z")

</div>

Thanks so much

---

<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:** [December 26, 2018, 9:20am UTC](https://discuss.elastic.co/t/could-create-index-patterns-for-new-index/158451/6 "2018-12-26T09:20:14Z")

</div>

Closed on December 26, 2018, 9:20am UTC

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