I trying to make changes to kibana core source code and I trying to access the variables in kibana.yml file from my JS file. Example is shown as below:
let elastic_url = process.env['elasticsearch.hosts']
Would really appreciate if anyone can give some pointers.
Note: I not trying to access from plugins.