I have a similar issue with granted documents query (as Document Level Security & Combining queries together)
I use following query:
{
"bool": {
"filter": [
{
"range": {
"@timestamp": {
"gte": "now-90d"
}
}
}
]
}
}
and on Descover
tab I see an error Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"parse_exception","reason":"could not read the current timestamp"}
How I can use range by @timestamp
in granted documents query?
Thanks.