mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
index.mapping.single_type is only available in 5.6
This commit is contained in:
parent
da51345087
commit
57b845d50d
1 changed files with 2 additions and 4 deletions
|
@ -10,7 +10,7 @@ In order to migrate to Kibana 6, your Kibana index needs to be reindexed. This w
|
|||
|
||||
A UI is available in X-Pack 5.6 to assist with the migration. The following is provided should you be required to run the migration manually. The commands assume you're using the default `.kibana` index, without an alias. If `kibana.index` is set to something different in your `kibana.yml`, or you're using an alias, you will need to modify the commands.
|
||||
|
||||
NOTE: To perform this migration without downtime, you will need to be running Kibana 5.6. This is the only version which supports both of the index types. If you are running a version prior to 5.6, you will need to omit `index.format` and `index.mapping.single_type` from the second step.
|
||||
NOTE: To perform this migration without downtime, you will need to be running Kibana 5.6. This is the only version which supports both of the index types. When running 5.6, add `"index.format": 6` and `"index.mapping.single_type": true` under settings in the second step to ensure additional types will not be added after migrating.
|
||||
|
||||
. Set `.kibana` index to read-only:
|
||||
+
|
||||
|
@ -34,9 +34,7 @@ PUT .kibana-6
|
|||
{
|
||||
"settings" : {
|
||||
"number_of_shards" : 1,
|
||||
"index.format": 6,
|
||||
"index.mapper.dynamic": false,
|
||||
"index.mapping.single_type": true
|
||||
"index.mapper.dynamic": false
|
||||
},
|
||||
"mappings" : {
|
||||
"doc": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue