# Prevent Query in Kibana

**URL:** <https://discuss.elastic.co/t/prevent-query-in-kibana/113885>\
**Category:** Kibana\
**Created:** [January 3, 2018, 7:47am UTC](https://discuss.elastic.co/t/prevent-query-in-kibana/113885 "2018-01-03T07:47:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faizah\_Fadzil](https://avatars.discourse-cdn.com/v4/letter/f/7feea3/32.png) [@Faizah\_Fadzil](https://discuss.elastic.co/u/Faizah_Fadzil)\
**Post date:** [January 3, 2018, 7:47am UTC](https://discuss.elastic.co/t/prevent-query-in-kibana/113885/1 "2018-01-03T07:47:49Z")

</div>

It is possible that an individual Kibana user can submit highly complex queries or a high volume of queries within a short time frame that causes ES to perform poorly for other users?

i have a task is to research technical options available in restricting a users ability to submit further ES queries when there's performance issue.  
Are we able to do that in Kibana or any plugins.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 3, 2018, 8:02am UTC](https://discuss.elastic.co/t/prevent-query-in-kibana/113885/2 "2018-01-03T08:02:51Z")

</div>

> [@Faizah\_Fadzil](#):
>
> It is possible that an individual Kibana user can submit highly complex queries or a high volume of queries within a short time frame that causes ES to perform poorly for other users?

Yes. That is a current limitation with Elasticsearch.

> [@Faizah\_Fadzil](#):
>
> Are we able to do that in Kibana or any plugins.

Not that I am aware of.

Elasticsearch does have a tasks API that you can use to cancel things, but there is not currently a way to do per-user resource restrictions.

---

<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:** [January 31, 2018, 8:02am UTC](https://discuss.elastic.co/t/prevent-query-in-kibana/113885/3 "2018-01-31T08:02:51Z")

</div>

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