Failed to parse indices privileges for role . – How to solve this Elasticsearch error

Opster Team

, Version: 1.7-8.0

Log Context

Log “failed to parse indices privileges for role [{}].”classname  is RoleDescriptor.java We extracted the following from Elasticsearch source code for those seeking an in-depth context :

if (deniedFields == null) {
 throw new ElasticsearchParseException("failed to parse indices privileges for role [{}]. {} must not " +
 "be null."; roleName; Fields.EXCEPT_FIELDS);
 }
 } else {
 throw new ElasticsearchParseException("failed to parse indices privileges for role [{}]. " +
 "\"{}\"" only accepts options {} and {}; but got: {}"";

 

Watch product tour

Try AutoOps to find & fix Elasticsearch problems

Analyze Your Cluster
Skip to content