Xpack elastic host error

i getting this error xpack.monitoring.elasticsearch.hosts undefined form method
server.config().get(xpack.monitoring.elasticsearch.hosts) is there any new approach to get elasticsearch.hosts in plugins

Hi @Kundan_Singh,

What version of Kibana are you using? This should still work, assuming the actual config is defined.

i am using kibana 7.2 . just i want to know how i can get elasticsearch.hosts by using this method server.config().get('elasticsearch.hosts') it's now working in server.config().get(xpack.monitoring.elasticsearch.hosts) and server.config().get(elasticsearch.hosts) ;

Ah, elasticsearch.hosts is something different.

@Oleg and/or @spalger will know more about that

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