today I wanted to edit a role in Kibana.
When saving the role, kibana throws the following error:
[strict_dynamic_mapping_exception] mapping set to strict, dynamic introduction of [metadata] within [role] is not allowed
Trying the same by using a PUT /_xpack/security/role/rolename in the console gives me the same error:
{
"error": {
"root_cause": [
{
"type": "strict_dynamic_mapping_exception",
"reason": "mapping set to strict, dynamic introduction of [metadata] within [role] is not allowed"
}
],
"type": "strict_dynamic_mapping_exception",
"reason": "mapping set to strict, dynamic introduction of [metadata] within [role] is not allowed"
},
"status": 400
}
I am using ELK in it's 5.0 alpha5 version with a trial license of xpack.
I'm trying to PUT the following, but it also throws the error when choosing other options.
When using the Management --> Elasticsearch --> Roles in Kibana it does the same error.
@jaymode - I'm experiencing the Same issue and it is a dev cluster that we upgraded from 2.3 -> 5.0 Alpha last week. Tried adding role from both Kibana and Sense and same exact error.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.