Use Elasticsearch service for retrieving data from ES

Hi,

How to use Elasticsearch service inside plugin?

I am developing an external plugin in Kibana 8.1.1 using React.

I want to retrieve data from ES at server side using the Elasticsearch service. I couldn't find any documentation or examples except for this (Elasticsearch service | Kibana Guide [8.8] | Elastic), which doesn't have any valuable information and moreover the link to the service given within is also wrong.

I looked into this example as well (https://github.com/elastic/kibana/tree/8fcd199d2a8f7368779552c659d34c0d34b9b87b/examples/search_examples), but it isn't using Elasticsearch service.

Kindly guide me with some resources and docs.

Thanks

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