Kibana granted document for where condition

I have requirment for the granted document query level in kibana roles tab.

For Example: User1 should be restricted to customer id: 1 and installation id: 1 and
Stage id: {1,2,3} n granted document query.

Applied with the following query but its not working.

{
"bool": {
"filter": [
{
"match": {
"customerid": "John"
}
},
{
"match": {
"installationid": "JohnMX"
}
},
{
	"terms": {
      "stageid": [ "PAT", "UAT" ]
	  }
	}
]
}
}

Getting data blank

Please help

Regards.

Are you referring to document/field level security here?

Yes in roles-- granted document query

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