How to migrate .kibana index from kibana 6.8 to 7.10?

Hello I am using kibana 6.8 and I have following mappings of .kibana index as described in this link: Migrating Kibana index to 6.0 | Kibana User Guide [6.0] | Elastic

I want to upgrade .kibana index from 6.8 to 7.10 manually without using Upgrade Assistant, but when I try migrate .kibana 6.8 index mappings to new .kibana index in 7.10. It gives me following error:

{
   "error": {
      "root_cause": [
         {
            "type": "mapper_parsing_exception",
            "reason": "Root mapping definition has unsupported parameters:  [doc : {dynamic=strict, properties={migrationVersion={properties={visualization={type=text, fields={keyword={ignore_above=256, type=keyword}}}}}, index-pattern={properties={notExpandable={type=boolean}, fieldFormatMap={type=text}, sourceFilters={type=text}, typeMeta={type=keyword}, isResultTemplate={type=boolean}, timeFieldName={type=keyword}, intervalName={type=keyword}, fields={type=text}, resultTemplate={type=text, fields={keyword={ignore_above=256, type=keyword}}}, title={type=text}, type={type=keyword}}}, server={properties={uuid={type=keyword}}}, search={properties={hits={type=integer}, columns={type=keyword}, description={type=text}, sort={type=keyword}, title={type=text}, version={type=integer}, kibanaSavedObjectMeta={properties={searchSourceJSON={type=text}}}}}, visualization={properties={updatedBy={type=text, fields={keyword={ignore_above=256, type=keyword}}}, savedSearchId={type=keyword}, description={type=text}, uiStateJSON={type=text}, updatedOn={type=long}, title={type=text}, version={type=integer}, kibanaSavedObjectMeta={properties={searchSourceJSON={type=text}}}, visState={type=text}}}, updated_at={type=date}, kql-telemetry={properties={optInCount={type=long}, optOutCount={type=long}}}, namespace={type=keyword}, type={type=keyword}, config={properties={buildNum={type=keyword}, defaultIndex={type=text, fields={keyword={ignore_above=256, type=keyword}}}, state:storeInSessionStorage={type=boolean}, orion:comment={type=text, fields={keyword={ignore_above=256, type=keyword}}}}}, dashboard={properties={updatedBy={type=text, fields={keyword={ignore_above=256, type=keyword}}}, timeTo={type=keyword}, refreshInterval={properties={display={type=keyword}, section={type=integer}, value={type=integer}, pause={type=boolean}}}, description={type=text}, updatedOn={type=long}, title={type=text}, version={type=integer}, kibanaSavedObjectMeta={properties={searchSourceJSON={type=text}}}, optionsJSON={type=text}, hits={type=integer}, timeFrom={type=keyword}, uiStateJSON={type=text}, timeRestore={type=boolean}, panelsJSON={type=text}}}, url={properties={accessCount={type=long}, accessDate={type=date}, url={type=text, fields={keyword={ignore_above=2048, type=keyword}}}, createDate={type=date}}}}}]"
         }
      ],
      "type": "mapper_parsing_exception",
      "reason": "Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters:  [doc : {dynamic=strict, properties={migrationVersion={properties={visualization={type=text, fields={keyword={ignore_above=256, type=keyword}}}}}, index-pattern={properties={notExpandable={type=boolean}, fieldFormatMap={type=text}, sourceFilters={type=text}, typeMeta={type=keyword}, isResultTemplate={type=boolean}, timeFieldName={type=keyword}, intervalName={type=keyword}, fields={type=text}, resultTemplate={type=text, fields={keyword={ignore_above=256, type=keyword}}}, title={type=text}, type={type=keyword}}}, server={properties={uuid={type=keyword}}}, search={properties={hits={type=integer}, columns={type=keyword}, description={type=text}, sort={type=keyword}, title={type=text}, version={type=integer}, kibanaSavedObjectMeta={properties={searchSourceJSON={type=text}}}}}, visualization={properties={updatedBy={type=text, fields={keyword={ignore_above=256, type=keyword}}}, savedSearchId={type=keyword}, description={type=text}, uiStateJSON={type=text}, updatedOn={type=long}, title={type=text}, version={type=integer}, kibanaSavedObjectMeta={properties={searchSourceJSON={type=text}}}, visState={type=text}}}, updated_at={type=date}, kql-telemetry={properties={optInCount={type=long}, optOutCount={type=long}}}, namespace={type=keyword}, type={type=keyword}, config={properties={buildNum={type=keyword}, defaultIndex={type=text, fields={keyword={ignore_above=256, type=keyword}}}, state:storeInSessionStorage={type=boolean}, orion:comment={type=text, fields={keyword={ignore_above=256, type=keyword}}}}}, dashboard={properties={updatedBy={type=text, fields={keyword={ignore_above=256, type=keyword}}}, timeTo={type=keyword}, refreshInterval={properties={display={type=keyword}, section={type=integer}, value={type=integer}, pause={type=boolean}}}, description={type=text}, updatedOn={type=long}, title={type=text}, version={type=integer}, kibanaSavedObjectMeta={properties={searchSourceJSON={type=text}}}, optionsJSON={type=text}, hits={type=integer}, timeFrom={type=keyword}, uiStateJSON={type=text}, timeRestore={type=boolean}, panelsJSON={type=text}}}, url={properties={accessCount={type=long}, accessDate={type=date}, url={type=text, fields={keyword={ignore_above=2048, type=keyword}}}, createDate={type=date}}}}}]",
      "caused_by": {
         "type": "mapper_parsing_exception",
         "reason": "Root mapping definition has unsupported parameters:  [doc : {dynamic=strict, properties={migrationVersion={properties={visualization={type=text, fields={keyword={ignore_above=256, type=keyword}}}}}, index-pattern={properties={notExpandable={type=boolean}, fieldFormatMap={type=text}, sourceFilters={type=text}, typeMeta={type=keyword}, isResultTemplate={type=boolean}, timeFieldName={type=keyword}, intervalName={type=keyword}, fields={type=text}, resultTemplate={type=text, fields={keyword={ignore_above=256, type=keyword}}}, title={type=text}, type={type=keyword}}}, server={properties={uuid={type=keyword}}}, search={properties={hits={type=integer}, columns={type=keyword}, description={type=text}, sort={type=keyword}, title={type=text}, version={type=integer}, kibanaSavedObjectMeta={properties={searchSourceJSON={type=text}}}}}, visualization={properties={updatedBy={type=text, fields={keyword={ignore_above=256, type=keyword}}}, savedSearchId={type=keyword}, description={type=text}, uiStateJSON={type=text}, updatedOn={type=long}, title={type=text}, version={type=integer}, kibanaSavedObjectMeta={properties={searchSourceJSON={type=text}}}, visState={type=text}}}, updated_at={type=date}, kql-telemetry={properties={optInCount={type=long}, optOutCount={type=long}}}, namespace={type=keyword}, type={type=keyword}, config={properties={buildNum={type=keyword}, defaultIndex={type=text, fields={keyword={ignore_above=256, type=keyword}}}, state:storeInSessionStorage={type=boolean}, orion:comment={type=text, fields={keyword={ignore_above=256, type=keyword}}}}}, dashboard={properties={updatedBy={type=text, fields={keyword={ignore_above=256, type=keyword}}}, timeTo={type=keyword}, refreshInterval={properties={display={type=keyword}, section={type=integer}, value={type=integer}, pause={type=boolean}}}, description={type=text}, updatedOn={type=long}, title={type=text}, version={type=integer}, kibanaSavedObjectMeta={properties={searchSourceJSON={type=text}}}, optionsJSON={type=text}, hits={type=integer}, timeFrom={type=keyword}, uiStateJSON={type=text}, timeRestore={type=boolean}, panelsJSON={type=text}}}, url={properties={accessCount={type=long}, accessDate={type=date}, url={type=text, fields={keyword={ignore_above=2048, type=keyword}}}, createDate={type=date}}}}}]"
      }
   },
   "status": 400
}

Can you help me to migrate .kibana index which are already exist in 6.8 and I want to migrate it to 7.10 manually ?

Anyone's help will be really appreciated. Let me know If you need any further details.

Just out of curiosity, is there a reason you want to avoid doing this with Upgrade Assistant? It should save you a lot of time.

If it's for licensing reasons (Upgrade Assistant are under the free Basic & Trial licenses), you can still install the default distribution of 6.8 to use Upgrade Assistant to upgrade to the OSS distribution.

If you are trying to upgrade manually, I'd still recommend at least looking at the Upgrade Assistant so you can review the checklist of index issues that need attention. If you don't want to use Kibana, you could also get the deprecations directly from Elasticsearch (GET /_xpack/migration/deprecations), which is what the Upgrade Assistant reads from.

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