Hi,
I have a json document like below indexed in ES:
{
"company" : "abc",
"users": ["john","smith","wills","jacob"]
}
In kibana while create the roles i am granting read privileges to specific document like below:
{"match": {"users": "john"}} - Here i need to pass logged in user name dynamically.
Can you please help me in getting the logged in user name. Thanks!