Hello
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?
Hello
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?
You can get any value from the kibana config by accessing server.config().get('{config.key}')
, so to get elasticsearch.hosts you can use
server.config().get('elasticsearch.hosts')
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.