# How to fetch data from elastic index using Kibana 7.9 custome plugin

**URL:** https://discuss.elastic.co/t/how-to-fetch-data-from-elastic-index-using-kibana-7-9-custome-plugin/253111
**Category:** Kibana
**Created:** [October 23, 2020, 9:38am UTC](https://discuss.elastic.co/t/how-to-fetch-data-from-elastic-index-using-kibana-7-9-custome-plugin/253111 "2020-10-23T09:38:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sanket\_Jadyar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sanket_jadyar/32/77761_2.png) [@Sanket\_Jadyar](https://discuss.elastic.co/u/Sanket_Jadyar)
#### Post date: [October 23, 2020, 9:38am UTC](https://discuss.elastic.co/t/how-to-fetch-data-from-elastic-index-using-kibana-7-9-custome-plugin/253111/1 "2020-10-23T09:38:55Z")

</div>

Hello,

I am trying to build new plugin for kibana version 7.9.1. can someone please guide me how to fetch data from elasticsearch index. can someone provide me example for it.

---

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [October 29, 2020, 7:41pm UTC](https://discuss.elastic.co/t/how-to-fetch-data-from-elastic-index-using-kibana-7-9-custome-plugin/253111/2 "2020-10-29T19:41:59Z")

</div>

Hi! Here is our developer guide: [https://www.elastic.co/guide/en/kibana/current/development.html](https://www.elastic.co/guide/en/kibana/current/development.html)

The guide has a subsection with plugin resources: [https://www.elastic.co/guide/en/kibana/current/development-plugin-resources.html](https://www.elastic.co/guide/en/kibana/current/development-plugin-resources.html)

To fetch data from Elasticsearch, use the `data` service. See the README from the source code: [https://github.com/elastic/kibana/blob/master/src/plugins/data/README.md](https://github.com/elastic/kibana/blob/master/src/plugins/data/README.md)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 26, 2020, 7:42pm UTC](https://discuss.elastic.co/t/how-to-fetch-data-from-elastic-index-using-kibana-7-9-custome-plugin/253111/3 "2020-11-26T19:42:00Z")

</div>

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