Hello,
I have an requirement of creating a role which has limited permission of data in index privileges using granted document query.
For example: User1 should be restricted when installation id: 1 and stageid:2 d matches in granted document query. Applied with the following query but its not working.
{
"query": {
"bool": {
"filter": [{
"match": {
"installationid": "JohnMX"
}
},
{
"match": {
"stageid": "UAT"
}
}
]
}
}
}
Data is coming blank as there is data in it.
kindly suggest me with different query or share some link for how to write query in kibana>Roles>Indexprivileges>Granted document query.
Thanks in advance.