Retrieve elasticsearch.hosts from Kibana config in plugin


I'm experiencing the same issue, as here

Since it was not resolved there, I'll try once again.
What is the proper way to retrieve elasticsearch.hosts in plugin for Kibana?

@Oleg , @spalger

You can get any value from the kibana config by accessing server.config().get('{config.key}'), so to get elasticsearch.hosts you can use


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.