# \[6.1\] Submitting index-pattern and visualizations to ".kibana" index

**URL:** https://discuss.elastic.co/t/6-1-submitting-index-pattern-and-visualizations-to-kibana-index/113680
**Category:** Kibana
**Created:** [January 1, 2018, 10:15am UTC](https://discuss.elastic.co/t/6-1-submitting-index-pattern-and-visualizations-to-kibana-index/113680 "2018-01-01T10:15:37Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hazim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hazim/32/26128_2.png) [@hazim](https://discuss.elastic.co/u/hazim)
#### Post date: [January 1, 2018, 10:15am UTC](https://discuss.elastic.co/t/6-1-submitting-index-pattern-and-visualizations-to-kibana-index/113680/1 "2018-01-01T10:15:37Z")

</div>

I'm upgrading from ES and Kibana 2.3 to 6.1, and can't seem to submit index-pattern, visualizations, dashboard etc to the ".kibana" index.

This is how i was submitting them in ES 2.3

```auto
curl -vvv -H "Content-Type: application/json" -XPUT -d@/kibana-objects/index-pattern/logs-\*.json "elasticsearch:9200/.kibana/index-pattern/logs-*?pretty

```

Same for visualizations and dashboard.

Now in 6.1, when I try to do this I get this response:

```auto
{
  "error" : {
    "root_cause" : [
      {
        "type" : "illegal_argument_exception",
        "reason" : "Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [index-pattern, doc]"
      }
    ],
    "type" : "illegal_argument_exception",
    "reason" : "Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [index-pattern, doc]"
  },
  "status" : 400
}

```

How can i submit default index pattern for kibana in 6.1 ?

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [January 1, 2018, 10:51am UTC](https://discuss.elastic.co/t/6-1-submitting-index-pattern-and-visualizations-to-kibana-index/113680/2 "2018-01-01T10:51:34Z")

</div>

Hi Hazim,

We have removed types from 6.0. You need to upgrade to 5.6 first - migrate your .kibana index and then upgrade to 6.1.

Here are our doc links:

Upgrading elasticsearch  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html)

Upgrading kibana  
[https://www.elastic.co/guide/en/kibana/current/upgrade.html](https://www.elastic.co/guide/en/kibana/current/upgrade.html)

Here is a blogpost for explaining Kibana's upgrade to 6.0:

> **[Kibana's Road to 6.0 and the Removal of Mapping Types
	  	 | Elastic](https://www.elastic.co/blog/kibana-6-removal-of-mapping-types)**
>
> When Elasticsearch removed mapping types in 6.0.0, it was a major breaking change that affected any application that uses indices with multiple types. Kibana is one such application, relying on multip...

Here is a webinar:  
[https://www.elastic.co/webinars/upgrading-your-elastic-stack](https://www.elastic.co/webinars/upgrading-your-elastic-stack)

Hope this helps.

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![hazim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hazim/32/26128_2.png) [@hazim](https://discuss.elastic.co/u/hazim)
#### Post date: [January 1, 2018, 11:34am UTC](https://discuss.elastic.co/t/6-1-submitting-index-pattern-and-visualizations-to-kibana-index/113680/3 "2018-01-01T11:34:16Z")

</div>

Hi,  
Im doing a clean setup just wanted to use my old files i.e. index patterns visualizations etc. or wanted to convert them to 6.1 format.

Would i still need to upgrade to 5.6 first?

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [January 1, 2018, 11:50am UTC](https://discuss.elastic.co/t/6-1-submitting-index-pattern-and-visualizations-to-kibana-index/113680/4 "2018-01-01T11:50:15Z")

</div>

Yep 🙂 5.6 is mandatory to upgrade to 6.x.

Cheers,  
Bhavya

---

<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: [January 29, 2018, 11:50am UTC](https://discuss.elastic.co/t/6-1-submitting-index-pattern-and-visualizations-to-kibana-index/113680/5 "2018-01-29T11:50:33Z")

</div>

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