kibana/docs/development/core/server/kibana-plugin-server.elasticsearchservicesetup.dataclient.md
Mikhail Shustov 5aad2f6a8f
Don't expose Elasticsearch client as Observable (#53824) (#54228)
* expose ES clients without observables

* expose observable-less api to plugins

* update core api and mocks

* update plugins

* NP SO & legacy use updated API

* update SO tests

* update TSDocs

* update types

* update docs

* document createCluster analog in np

* typo
2020-01-08 13:26:02 +03:00

718 B

Home > kibana-plugin-server > ElasticsearchServiceSetup > dataClient

ElasticsearchServiceSetup.dataClient property

A client for the data cluster. All Elasticsearch config value changes are processed under the hood. See IClusterClient.

Signature:

readonly dataClient: IClusterClient;

Example

const client = core.elasticsearch.dataClient;