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.