We're upgrading our elasticsearch from 2.3.4 to 6.2.4 via 5.6.9.
The indices created in 2.3.4 will be reindexed in 5.6.9 before the upgrade step to 6.2.4.
Currently, when migrating .kibana
I'm getting the following error:
mapping set to strict, dynamic introduction of [title] within [dashboard] is not allowed
Looking at the .kibana/dashboard/_mapping
I can see that there is already a specified field in the mapping called title
, so it shouldn't be adding them as dynamic fields when reindexing.
What does this error really mean, and how do I get around it?
My method of migrating is:
- Create a new index:
.kibana-r
- Reindex all documents from
.kibana
into.kibana-r
- Check document count is the same
- Delete and re-create .kibana
- Reindex all documents from
.kibana-r
into.kibana
- Check document count is the same
- Delete
.kibana-r
Thank you for any help offered.