Upgrade elasticsearch from 1.x to 2.x

Hi All,

I am facing some kibana index issue while restarting elasticsearch up on upgrade.the following is the issue.

[2016-10-04 20:54:25,930][ERROR][bootstrap ] Guice Exception: java.lang.IllegalStateException: unable to upgrade the mappings for the index [.kibana], reason: [mapper [version] cannot be changed from type [long] to [int]]
Likely root cause: java.lang.IllegalArgumentException: mapper [version] cannot be changed from type [long] to [int]

I read mapping conflicts not accepting by es 2.x version so i got this point and if i removed .kibana index and recreated at ES side with correct mapping it should work am I correct?

I have lot's of visulaizations in production to export and import is there any easiest way to import these or upgrade fix at es side please suggest me.



Nope, due to the conflicts. You could try getting the documents in the .kibana index as json and then post them into a new index. Or just use the export/import functionality.