Could you please help understand how to call secured elasticsearch (POST/PUT) api from custom kibana plugin.
Currently i am using callwithrequest to get and post the indexed data. but just need to understand when API's are secured with some auth method how can we call them using callwithrequest.
It sounds like you're doing it right. callwithrequest should pass through any HTTP headers that are required for auth against the target endpoint, so it should "just work".
Thank you christophilus,
It worked as it is, did not had to do anything to make it work.
Just one more query , how can we get the logged-in user information in the request or session.
any pointers or documentation to resolve the issue would help.
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.