Hi. I'm trying to get value of custom header set in response of our server in kibana react client using axios but it seems that it's not accessiable even though it's showing in browser console (Access-Control-Expose-Headers is also set).
I think you need to check your kibana.yml file to better understand how things are set up in your particular case.
There is a way to set custom headers to be send on all the Kibana server responses to the client with server.customResponseHeaders in kibana.yml. If it is the case and set properly, I can't think of any prevention mechanism on Kibana side.
Usually the problem comes when you try to send custom header, especially with CORS enabled for Elasticsearch. Then you have to make sure it is white-listed and etc.
You can read more about different Kibana server configuration here
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.