Document Level Security & Combining queries together

Hello,

I'm trying to use Combining queries together (Bool Query and Range Query) with Setting Up Field and Document Level Security and running into issue(s):

I get Kibana error:

Discover: could not read the current timestamp

and via More Info:

Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"parse_exception","reason":"could not read the current timestamp"},

I've tried to use same combined bool & range query through Discover and everything works as expected, no errors.

Please advise.

Hi

This sounds like a formatting error but it would be really hard for anyone to assist if you don't show us the query you're trying in DLS