# Kibana 6.0.0. RC2 - not creating an index pattern

**URL:** <https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999>\
**Category:** Kibana\
**Created:** [November 9, 2017, 9:06am UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999 "2017-11-09T09:06:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Steenbergen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_steenbergen/32/22888_2.png) [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)\
**Post date:** [November 9, 2017, 9:06am UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/1 "2017-11-09T09:06:15Z")

</div>

Hi,

I try to store the metricbeat-\* index pattern. It can see the fields after I filled that pattern and can choose the @timestamp field. After 1 second of loading, I can click on set as default (with the star). However It is not stored.

When I refresh or go to another page it keeps asking for it.  
Is there a way to save it via Dev Tools? Or does someone know the fix?

Thanks in advance.

Greetings,  
Peter

---

<div class="post-metadata">

**Author:** ![Peter\_Steenbergen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_steenbergen/32/22888_2.png) [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)\
**Post date:** [November 9, 2017, 9:36am UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/2 "2017-11-09T09:36:09Z")

</div>

```
GET .kibana/doc/_search
{
  "query": {
    "match": {
      "type": "index-pattern"
    }
  }
}

```

After I fill in the form I can see the index pattern with that Query; However Kibana just does not see it.  
Hope someone knows the solution to this. Looks like, no index-pattern is seen by the FrontEnd.

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [November 9, 2017, 10:45pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/3 "2017-11-09T22:45:00Z")

</div>

Hi Peter, thanks for posting your question. Could you clarify something for me? Are you saying that when you save the index pattern, it doesn't show up in your list of index patterns of Management \> Index Patterns? Or are you saying that it shows up, but setting it as the "Default index" has no effect?

In either case, could you show me a screenshot of what you see under Management \> Index Patterns?

Thanks,  
CJ

---

<div class="post-metadata">

**Author:** ![Peter\_Steenbergen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_steenbergen/32/22888_2.png) [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)\
**Post date:** [November 10, 2017, 11:26am UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/4 "2017-11-10T11:26:40Z")

</div>

I created a video for you that is easier.

> **[Screen Capture on 2017-11-10 at 12-23-51.gif • Droplr™](http://drops.3ws.nl/AeJVIU)**
>
> Shared with Droplr

It is a gif. Please let me know if you want to know more.  
The index is not shown / stored in the FrontEnd. However it is created in the .kibana index as shown in the video.

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [November 10, 2017, 10:39pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/5 "2017-11-10T22:39:02Z")

</div>

Thanks, Peter. This is very strange. I'm assuming you're on Kibana 6.0.0-rc2? I tried to reproduce this but couldn't do so. I just pinged a couple other Kibana engineers to help us out with this. In the meantime, could you tell me if you see any errors in your ES logs?

Thanks,  
CJ

---

<div class="post-metadata">

**Author:** ![Peter\_Steenbergen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_steenbergen/32/22888_2.png) [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)\
**Post date:** [November 10, 2017, 11:26pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/6 "2017-11-10T23:26:57Z")

</div>

Hi CJ,

Yeah, I am using Kibana 6.0.0.rc2 all clean install nothing more.  
I see no errors in the logs, only in the Google Chrome bundle.js that no index pattern is found.

Let me know if I can help out with access to the Kibana instance.  
It is behind IP block but let me know the IP so you can open it.

Greetings Peter

---

<div class="post-metadata">

**Author:** ![Peter\_Steenbergen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_steenbergen/32/22888_2.png) [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)\
**Post date:** [November 13, 2017, 8:03am UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/7 "2017-11-13T08:03:51Z")

</div>

It is a clean Ubuntu 16.04 OS, nothing more. I installed it with the .deb installer from the documentation.  
Hope you can help out further.

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [November 13, 2017, 8:51pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/8 "2017-11-13T20:51:45Z")

</div>

Hi @Peter_Steenbergen,

Can you paste the response to this call?

```auto
POST .kibana/_search
{
  "size": 10000,
  "from": 0,
  "_source": ["index-pattern.title", "type", "title"],
  "version": true,
  "query": {
    "bool": {
      "filter": [{
        "term": {
          "type": "index-pattern"
        }
      }]
    }
  }
}

```

and then can you hit the url in the browser and paste the response?

```auto
<kibana_instance>/api/saved_objects/?type=index-pattern&fields=title&per_page=10000

```

Thanks!

---

<div class="post-metadata">

**Author:** ![Peter\_Steenbergen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_steenbergen/32/22888_2.png) [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)\
**Post date:** [November 14, 2017, 10:18am UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/9 "2017-11-14T10:18:11Z")

</div>

With the first it gives me the response with the new entry. The result was also in the video.  
When I open the url it shows the created index (also with the default star).

I finally managed to get it to work.  
I removed the whole .kibana index. Then recreated the index and now it is working with creating the index.

I now try to reverse engineer the steps to remake this error.

Base system Ubuntu 16.04, installatie with apt-get.  
=\> Install ElasticSearch  
=\> Install Kibana  
=\> Start / enable ElasticSearch  
=\> Start / enable Kibana  
=\> Install Metricbeat  
=\> Run the ./metricbeat setup --template  
=\> Run the ./metricbeat setup --dashboards

Now I cant add the template anymore. Removing the .kibana resolved it.

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [November 14, 2017, 1:54pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/10 "2017-11-14T13:54:09Z")

</div>

Hi @Peter_Steenbergen,

I'm glad you were able to resolve it! I'm not sure the root cause, but I'll do some more digging.

Thanks

---

<div class="post-metadata">

**Author:** ![wkpv68](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@wkpv68](https://discuss.elastic.co/u/wkpv68)\
**Post date:** [November 14, 2017, 2:25pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/11 "2017-11-14T14:25:43Z")

</div>

Hi,

I have the same problem and nothing fix it.  
I have two kibana version

1. 5.6.4 --\> work fine
2. 6.0.0.rc2 --\> not creating an index pattern

If you have a step by step how to fix please let me know

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [November 14, 2017, 2:36pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/12 "2017-11-14T14:36:17Z")

</div>

Hi @wkpv68,

Did you try deleting and recreating your `.kibana` index? You might want to try ensuring your data is backed up (by using the [export feature for saved objects](https://www.elastic.co/guide/en/kibana/current/managing-saved-objects.html)).

I'm still digging into the root cause and will update when I know more.

Thanks

---

<div class="post-metadata">

**Author:** ![wkpv68](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@wkpv68](https://discuss.elastic.co/u/wkpv68)\
**Post date:** [November 14, 2017, 2:48pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/13 "2017-11-14T14:48:54Z")

</div>

Hi,

I think yes  
Could you send me the command to delete it?

Thanks

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [November 14, 2017, 2:54pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/14 "2017-11-14T14:54:43Z")

</div>

Hi @wkpv68,

Try:

```auto
DELETE .kibana

```

Then refresh Kibana and it will auto-create it for you again.

Keep in mind that you might need to export your existing saved objects.

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [November 14, 2017, 3:25pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/15 "2017-11-14T15:25:38Z")

</div>

> [@Peter\_Steenbergen](#):
>
> =\> Run the ./metricbeat setup --dashboards

@Peter_Steenbergen Can you confirm you're using `6.0.0-rc2` of Metricbeat too?

Those two metricbeat setup steps should create the index pattern for you.

> [@Peter\_Steenbergen](#):
>
> Now I cant add the template anymore

Is there a reported error?

Thanks

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [November 14, 2017, 3:47pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/16 "2017-11-14T15:47:51Z")

</div>

Just to make there isn't something in the browser's cache from the previous version of Kibana, could you try opening Kibana in a private or incognito browser window or tab. And then try to create an index pattern and see if it is set as the default (if you didn't already have a default index pattern).

Also 6.0.0 is released now!

Thanks,  
Lee

---

<div class="post-metadata">

**Author:** ![Peter\_Steenbergen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_steenbergen/32/22888_2.png) [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)\
**Post date:** [November 14, 2017, 5:10pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/17 "2017-11-14T17:10:01Z")

</div>

Yes, both are RC 6.0.0.rc2. But removing the index with: DELETE .kibana worked for me, it was a clean install so it was fine.

Was clean install of ubuntu and Elastic and metric beat and Kibana. With incognito browser.  
Will look into v6.0.0. Maybe it is resolved by default with the same steps.

It is fun debugging 😃

---

<div class="post-metadata">

**Author:** ![wkpv68](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@wkpv68](https://discuss.elastic.co/u/wkpv68)\
**Post date:** [November 14, 2017, 5:41pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/18 "2017-11-14T17:41:23Z")

</div>

Hi,

Now I got the this error  
Error: blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];: [cluster\_block\_exception] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];  
at [http://localhost:5601/bundles/kibana.bundle.js?v=16070:27:28530](http://localhost:5601/bundles/kibana.bundle.js?v=16070:27:28530)  
at processQueue ([http://localhost:5601/bundles/commons.bundle.js?v=16070:39:9912](http://localhost:5601/bundles/commons.bundle.js?v=16070:39:9912))  
at [http://localhost:5601/bundles/commons.bundle.js?v=16070:39:10805](http://localhost:5601/bundles/commons.bundle.js?v=16070:39:10805)  
at Scope.$digest ([http://localhost:5601/bundles/commons.bundle.js?v=16070:39:21741](http://localhost:5601/bundles/commons.bundle.js?v=16070:39:21741))  
at Scope.$apply ([http://localhost:5601/bundles/commons.bundle.js?v=16070:39:24520](http://localhost:5601/bundles/commons.bundle.js?v=16070:39:24520))  
at done ([http://localhost:5601/bundles/commons.bundle.js?v=16070:38:9495](http://localhost:5601/bundles/commons.bundle.js?v=16070:38:9495))  
at completeRequest ([http://localhost:5601/bundles/commons.bundle.js?v=16070:38:13952](http://localhost:5601/bundles/commons.bundle.js?v=16070:38:13952))  
at XMLHttpRequest.xhr.onload ([http://localhost:5601/bundles/commons.bundle.js?v=16070:38:14690](http://localhost:5601/bundles/commons.bundle.js?v=16070:38:14690))

Please advice

---

<div class="post-metadata">

**Author:** ![wkpv68](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@wkpv68](https://discuss.elastic.co/u/wkpv68)\
**Post date:** [November 14, 2017, 5:46pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/19 "2017-11-14T17:46:32Z")

</div>

I'm using couchdb\_changes  
It is missing in release 6.0 so I add it manually to logstash

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [November 14, 2017, 5:59pm UTC](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999/20 "2017-11-14T17:59:58Z")

</div>

@Peter_Steenbergen If you can, go ahead and try the 6.0 official release and let us know if things look resolved. We'll keep looking on our end.

Thanks

[Next page](https://discuss.elastic.co/t/kibana-6-0-0-rc2-not-creating-an-index-pattern/106999.md?page=2)
