Security error when create new role with field_security

Hi Team,

We have Kibana version 7.8 installed.

Tried to hide some particular fields for kibana users by creating a new custom role after referring https://www.elastic.co/guide/en/elasticsearch/reference/7.8/field-level-security.html

In Kibana Dev-Tools ::

POST /_security/role/new-custom-role-name
{
"indices": [
{
"names": [ "index-name-*" ],
"privileges": [ "read" ],
"field_security" : {
"grant" : [ "category", "@timestamp", "message" ]
}
}

Output ::

"error" : {
"root_cause" : [
{
"type" : "security_exception",
"reason" : "current license is non-compliant for [field and document level security]",
"license.expired.feature" : "field and document level security"
}
],
"type" : "security_exception",
"reason" : "current license is non-compliant for [field and document level security]",
"license.expired.feature" : "field and document level security"
},
"status" : 403
}

Could someone be able to guide on how to overcome and achieve this (hide some particular fields for kibana users) ?

Hello,

You have a similar issue here:

I hope it will help.

Hi Mikel,

Thanks for the update.

Seems we need Platinum subscription for the same.

Could you let me know if there is any other alternative method to achieve this. i.e. to hide some particular fields for kibana users. ?

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