# Unable to create an Index Pattern, pattern creation hanging up or failing

**URL:** <https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687>\
**Category:** Kibana\
**Created:** [April 26, 2019, 4:08pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687 "2019-04-26T16:08:51Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Downey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan_downey/32/35987_2.png) [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)\
**Post date:** [April 26, 2019, 4:08pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/1 "2019-04-26T16:08:51Z")

</div>

ES 6.5.4  
Kibana 6.5.4

I've been using the Machine Learning - Data Visualizer feature in Kibana the last few weeks and just recently it started failing when creating an Index Pattern. I go through the steps of importing the data and then the import process crashes when creating the index pattern. I've tried to create an index pattern through the management-\>index pattern-\>create index pattern and that just hangs up during the process. I've looked through the logs but nothing stands out. If I should be looking for something in particular I can try and target that.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [April 26, 2019, 4:31pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/2 "2019-04-26T16:31:59Z")

</div>

Hey @Ryan_Downey, if in Chrome you right click and select "Inspect", and then go to the "Console" tab at the top of the screen, do you see any errors output?

---

<div class="post-metadata">

**Author:** ![Ryan\_Downey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan_downey/32/35987_2.png) [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)\
**Post date:** [April 26, 2019, 5:17pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/3 "2019-04-26T17:17:34Z")

</div>

![indes_pattern_error](https://us1.discourse-cdn.com/elastic/original/3X/e/b/eb86dc84446d5e326203581b2111c6b492db10ad.jpeg)

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [April 26, 2019, 5:23pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/4 "2019-04-26T17:23:25Z")

</div>

That appears to be a permissions issue, which isn't being rendered in a friendly manner. Would you mind running the following two queries using Dev Tools and replying with the response?

```auto
GET _xpack/security/_authenticate

```

```auto
GET _xpack/security/user/_privileges

```

---

<div class="post-metadata">

**Author:** ![Ryan\_Downey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan_downey/32/35987_2.png) [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)\
**Post date:** [April 26, 2019, 5:27pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/5 "2019-04-26T17:27:36Z")

</div>

Sent a PM.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [April 26, 2019, 5:33pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/6 "2019-04-26T17:33:42Z")

</div>

Based on those responses which were PM'ed, you have the `superuser` role, so you should be authorized to do everything.

Would you mind setting the following in your `kibana.yml` and attaching the logs when this occurs?

```auto
logging.verbose: true
xpack.security.audit.enabled

```

---

<div class="post-metadata">

**Author:** ![Ryan\_Downey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan_downey/32/35987_2.png) [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)\
**Post date:** [April 26, 2019, 5:43pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/7 "2019-04-26T17:43:02Z")

</div>

kibana.yml updated with:  
logging.verbose: true  
xpack.security.audit.enabled: true

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [April 26, 2019, 5:44pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/8 "2019-04-26T17:44:08Z")

</div>

Fantastic, if you could recreate the issue and then attach your logs, it should give us enough information to being diagnosing.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [April 26, 2019, 7:23pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/9 "2019-04-26T19:23:13Z")

</div>

This issue was being caused because the indices were locked because of low disk space and was evident by running a `GET .kibana/_settings` and seeing a response similar to the following:

```auto
{
  ".kibana_2" : {
    "settings" : {
      "index" : {
        "number_of_shards" : "1",
        "auto_expand_replicas" : "0-1",
        "blocks" : {
          "read_only_allow_delete" : "true"
        },
        "provided_name" : ".kibana_1",
        "creation_date" : "154192928788386",
        "number_of_replicas" : "1",
        "uuid" : "giheoigheo028r02810",
        "version" : {
          "created" : "6050499"
        }
      }
    }
  }
}

```

after freeing up disk space, you can do the following to unlock the .kibana index:

```auto
PUT /.kibana/_settings
{
  "index.blocks.read_only_allow_delete": null
}

```

[https://www.elastic.co/guide/en/elasticsearch/reference/7.0/disk-allocator.html#disk-allocator](https://www.elastic.co/guide/en/elasticsearch/reference/7.0/disk-allocator.html#disk-allocator) has more details

---

<div class="post-metadata">

**Author:** ![jdemp0913](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jdemp0913](https://discuss.elastic.co/u/jdemp0913)\
**Post date:** [May 22, 2019, 6:19pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/10 "2019-05-22T18:19:37Z")

</div>

Brandon, I seem to be having the same issue where the creating index pattern loading animation just spins.

I am new to Elastic search, but suspect I had a disk space issue. How can I enter the command:

PUT /.kibana/\_settings  
{  
"index.blocks.read\_only\_allow\_delete": null  
}

Do I use a console of some kind?

Thanks

---

<div class="post-metadata">

**Author:** ![jdemp0913](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jdemp0913](https://discuss.elastic.co/u/jdemp0913)\
**Post date:** [May 22, 2019, 6:20pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/11 "2019-05-22T18:20:58Z")

</div>

Brandon, I am using the readonlyrest plug-in.

---

<div class="post-metadata">

**Author:** ![jdemp0913](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jdemp0913](https://discuss.elastic.co/u/jdemp0913)\
**Post date:** [May 22, 2019, 6:25pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/12 "2019-05-22T18:25:37Z")

</div>

Brandon, I figured out how to issue the command.

---

<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:** [June 19, 2019, 6:25pm UTC](https://discuss.elastic.co/t/unable-to-create-an-index-pattern-pattern-creation-hanging-up-or-failing/178687/13 "2019-06-19T18:25:45Z")

</div>

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