External plugin connectivity with Elastic search

Hello there !

I have created an external plugin using React in Kibana
Now I want to connect that to the Elastic search and use the data stored in one of the index.
What are the possible options to achieve this ?

Have you looked at the official Javascript client?

I had no idea on how to achieve this !
Thanks, I will look into the javascript client

Hi @Christian_Dahlqvist
I did explore the Javascript client docs.
I also want to know if there is any way to connect Elasticsearch directly to the react plugin without using node.js and use the data stored in one of my index.

As Elasticsearch is a datastore I believe that this is generally not recommended as the client would need direct access to your cluster and also have access to login credentials. I am not a Javascript developer so can not comment on whether the Javascript client can be used directly from the client or not.

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