Mapping set to strict, dynamic introduction of [title] within [dashboard] is not allowed when upgrading .kibana from 2.3.4 to 6.2.4

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:

  1. Create a new index: .kibana-r
  2. Reindex all documents from .kibana into .kibana-r
  3. Check document count is the same
  4. Delete and re-create .kibana
  5. Reindex all documents from .kibana-r into .kibana
  6. Check document count is the same
  7. Delete .kibana-r

Thank you for any help offered.

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