# How to query data from elasticsearch in kibana plugin in version 7.7.1?

**URL:** <https://discuss.elastic.co/t/how-to-query-data-from-elasticsearch-in-kibana-plugin-in-version-7-7-1/239727>\
**Category:** Kibana\
**Created:** [July 3, 2020, 4:42am UTC](https://discuss.elastic.co/t/how-to-query-data-from-elasticsearch-in-kibana-plugin-in-version-7-7-1/239727 "2020-07-03T04:42:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![K\_Chaitanya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/k_chaitanya/32/46387_2.png) [@K\_Chaitanya](https://discuss.elastic.co/u/K_Chaitanya)\
**Post date:** [July 3, 2020, 4:43am UTC](https://discuss.elastic.co/t/how-to-query-data-from-elasticsearch-in-kibana-plugin-in-version-7-7-1/239727/1 "2020-07-03T04:43:00Z")

</div>

Hi,

I'm trying to build Kibana plugin and I am using basic free authentication in kibana. I need to query `GET /_security/user/_has_privileges` to get the privileges of the current logged in user api further I need to perform CRUD actions on elasticsearch indices depending on his privilages, and also make api calls to different webserver(Django).

I was trying things as described [here](https://www.elastic.co/guide/en/kibana/7.7/development-elasticsearch.html) and  
[here](https://www.elastic.co/guide/en/kibana/current/plugin-development.html)

I am not able figure out the entities server in server side nor uiModules in browser side.

Thank you  
Chaitanya

---

<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:** [July 31, 2020, 4:43am UTC](https://discuss.elastic.co/t/how-to-query-data-from-elasticsearch-in-kibana-plugin-in-version-7-7-1/239727/2 "2020-07-31T04:43:02Z")

</div>

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