Hello!
How can I specify in a granted documents query that I want show only the documents that match with a service.name AND service.environment?
I tried with the following query but I also saw other service.environment different from the one I indicated (staging):
{
"bool": {
"must": [ // (I also tried with "filter")
{
"match": {
"service.name":"myWeb"
}
},
{
"match": {
"service.environment":"staging"
}
}
]
}
}
Thank you !