Timeseries indices has type both string and text(or keyword)

I am preparing upgrade elastic stack from 2.3 to 5.2.
My question is...
Index dailylog.20170311(created by es 2.3) has string field "subject".
what happen if dailylog.20170312(will created by es 5.2) will have keyword or text field "subject"?

usually kibana complains type conflict.
What about this case? do I need to reindex 20170311 before serving?

I don't think so, Kibana should treat all of the "string" type fields (text and keyword included) the same. At least I think that's the case.

However, if you want to be ready for upgrading to 6.0 or later, you'll need to re-index your string fields into either text or keyword, as appropriate. It might be worthwhile to do it as part of your 5.2 upgrade so you don't have to worry about it later.

I would also recommend installing and checking the Elasticsearch Migration Plugin to identify issues.

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