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"" +
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"" +
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"" +
[ratemypost]