# The button "Create" in the Index Patterns being disabled

**URL:** <https://discuss.elastic.co/t/the-button-create-in-the-index-patterns-being-disabled/92173>\
**Category:** Kibana\
**Created:** [July 6, 2017, 9:31pm UTC](https://discuss.elastic.co/t/the-button-create-in-the-index-patterns-being-disabled/92173 "2017-07-06T21:31:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vincent\_Xian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vincent_xian/32/19810_2.png) [@Vincent\_Xian](https://discuss.elastic.co/u/Vincent_Xian)\
**Post date:** [July 6, 2017, 9:31pm UTC](https://discuss.elastic.co/t/the-button-create-in-the-index-patterns-being-disabled/92173/1 "2017-07-06T21:31:38Z")

</div>

I think that it is related to the warning message "No default index pattern. You must select or create one to continue."

But the problem is that i do not know how to get around this. Therefore, any help will be appreciated.

Vincent

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 6, 2017, 10:52pm UTC](https://discuss.elastic.co/t/the-button-create-in-the-index-patterns-being-disabled/92173/2 "2017-07-06T22:52:19Z")

</div>

You get around it by defining a pattern.  
Do you have data in Elasticsearch?

---

<div class="post-metadata">

**Author:** ![Vincent\_Xian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vincent_xian/32/19810_2.png) [@Vincent\_Xian](https://discuss.elastic.co/u/Vincent_Xian)\
**Post date:** [July 7, 2017, 4:08am UTC](https://discuss.elastic.co/t/the-button-create-in-the-index-patterns-being-disabled/92173/3 "2017-07-07T04:08:26Z")

</div>

Hi Warkolm,

Thank you for your response, very appreciated! But I do not understand this concept though.

I have imported the data into the elasticsearch following the tutorial and did just whatever it says:  
curl -uelastic:changeme -XPUT [http://localhost:9200/shakespeare](http://localhost:9200/shakespeare) -d "{"mappings" : {"_default_" : {"properties" : {"speaker" : {"type": "string", "index" : "not\_analyzed" },"play\_name" : {"type": "string", "index" : "not\_analyzed" },"line\_id" : { "type" : "integer" },"speech\_number" : { "type" : "integer" }}}}}"

and then import the data:  
curl -uelastic:changeme -XPUT localhost:9200/\_bulk --data-binary @shakespeare.json

As shown above, the shakespeare is supposed to be a index, right? therefore In the Discover page, I have put down shakespeare-\* in the text field under Index name or pattern, but it still does not work. and Kibana still complains Unable to fetch mapping. Do you have indices matching the pattern?

so please advise.

Thank you in advance with best regards

Vincent from New Zealand

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 7, 2017, 10:21pm UTC](https://discuss.elastic.co/t/the-button-create-in-the-index-patterns-being-disabled/92173/4 "2017-07-07T22:21:55Z")

</div>

The index name is `shakespeare`, not `shakespeare-` 🙂

---

<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:** [August 4, 2017, 10:21pm UTC](https://discuss.elastic.co/t/the-button-create-in-the-index-patterns-being-disabled/92173/5 "2017-08-04T22:21:57Z")

</div>

Closed on August 4, 2017, 10:21pm UTC

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