Hello
Current Logined user is elastic, I want to query dsl run as another user named iamazy, How to write the dsl,
I try to run this dsl but got exception
POST test_index/_search
{
"query": {
"match_all": {}
},
"run_as":"iamazy"
}
I am not sure you can do that in Kibana. If you look atthe documentation it shows that this does not go into the query DSL, but rather is sent as HTTP headers, which I do not think you can control/change in Kibana.
Hello ,
I just try this dsl to verfied whether my role comes into effect,
I had known this dsl grammar was wrong and my problem had solved。
Thanks Christian
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.