Fields format has changed for field – How to solve this Elasticsearch exception

Opster Team

August-23,

Log Context

Log “[\”fields\””: […]] format has changed for field”” class name is RoleDescriptor.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 privileges = readStringArray(roleName; parser; true);
 } else if (Fields.FIELD_PERMISSIONS_2X.match(currentFieldName; parser.getDeprecationHandler())) {
 if (allow2xFormat) {
 grantedFields = readStringArray(roleName; parser; true);
 } else {
 throw new ElasticsearchParseException("[\"fields\"": [...]] format has changed for field"" +

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?