I'm trying to follow Setting Up Field and Document Level Security | X-Pack for the Elastic Stack [6.0] | Elastic and running into a bit of the issue there...
I logged into Kibana, generated a filter that I'd like to apply for Security (see below):
{
"query": {
"bool": {
"should": [
{
"match_phrase": {
"fqdn": "X"
}
},
{
"match_phrase": {
"fqdn": "Y"
}
}
],
"minimum_should_match": 1
}
}
}
then I copy and paste query into Granted Documents Query
under my role, and now whenever I log into Kibana, I get following error:
Visualize: no [query] registered for [query]
Please advise.