Hi,
I an creating an external plugin in Kibana 8.5.3.
How can I get data/docs/indices/dataviews/... from my elasticsearch instance within my plugin?
Thanks
Hi,
I an creating an external plugin in Kibana 8.5.3.
How can I get data/docs/indices/dataviews/... from my elasticsearch instance within my plugin?
Thanks
Hi Sheereen, if you have elasticsearch data located in the .data
folder already, then you should be able to view that using elasticsearch API request from the Console app (dev tools) in kibana's main application.
If you then want to build on top of that data, which it seems like you do, then you can use the elasticsearch service from the context in your plugin's setup and start contracts.
The docs for the Core APIs cover how to use them: Kibana Core API | Kibana Guide [8.5] | Elastic and the suggested patterns to follow are discussed in these docs.
To use services from another kibana plugins (like dataviews for example), there's a great post that explains what approach to take and some examples you can look at here
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.