# Ability to run ES queries directed at Kibana?

**URL:** <https://discuss.elastic.co/t/ability-to-run-es-queries-directed-at-kibana/225262>\
**Category:** Kibana\
**Created:** [March 26, 2020, 5:59pm UTC](https://discuss.elastic.co/t/ability-to-run-es-queries-directed-at-kibana/225262 "2020-03-26T17:59:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![slmingol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/slmingol/32/12606_2.png) [@slmingol](https://discuss.elastic.co/u/slmingol)\
**Post date:** [March 26, 2020, 5:59pm UTC](https://discuss.elastic.co/t/ability-to-run-es-queries-directed-at-kibana/225262/1 "2020-03-26T17:59:41Z")

</div>

We often times use `curl` to run ES queries at one of the datanodes within our ES cluster. Is there a way to direct these to Kibana and use Kibana as a loadbalancer across all the ES datanodes? Today we have to either use F5 LB and create a endpoint URL to front all the ES datanodes or pick a single ES datanode to target our queries.

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [March 26, 2020, 7:14pm UTC](https://discuss.elastic.co/t/ability-to-run-es-queries-directed-at-kibana/225262/2 "2020-03-26T19:14:32Z")

</div>

Have you tried using `Console` under `Dev Tools`?

---

<div class="post-metadata">

**Author:** ![slmingol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/slmingol/32/12606_2.png) [@slmingol](https://discuss.elastic.co/u/slmingol)\
**Post date:** [April 9, 2020, 3:14pm UTC](https://discuss.elastic.co/t/ability-to-run-es-queries-directed-at-kibana/225262/3 "2020-04-09T15:14:18Z")

</div>

> [@tylersmalley](#):
>
> Console

Yes I'm aware of this. My question was more around if there was a way to use Kibana as actual LB instead of having to log into its UI to run these queries.

The console has a copy as cURL option on the wrench icon, when you select that it just shows a since data node in our cluster of more than ~15 nodes.

```auto
$ curl -XGET "https://es-data-01a.lab1.mydom.local:9200/filebeat-6.5.1-*/_search"

```

---

<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:** [May 7, 2020, 3:14pm UTC](https://discuss.elastic.co/t/ability-to-run-es-queries-directed-at-kibana/225262/4 "2020-05-07T15:14:31Z")

</div>

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