# Custom query in dashboard

**URL:** <https://discuss.elastic.co/t/custom-query-in-dashboard/310165>\
**Category:** Kibana\
**Created:** [July 20, 2022, 2:19pm UTC](https://discuss.elastic.co/t/custom-query-in-dashboard/310165 "2022-07-20T14:19:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farah\_Bhr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/farah_bhr/32/82537_2.png) [@Farah\_Bhr](https://discuss.elastic.co/u/Farah_Bhr)\
**Post date:** [July 20, 2022, 2:19pm UTC](https://discuss.elastic.co/t/custom-query-in-dashboard/310165/1 "2022-07-20T14:19:24Z")

</div>

Hello  
I am a beginner in elastic  
I want to ask can I transform an advanced search of elasticsearch indices in kibana Dev Tools into a dashboard  
for example can I transform this get into a kibana dashboard or to a more lisible way, not a response in a json format

```auto
GET /rank-feature-test/_search
{
 "query": {
   "bool": {
     "must": [
       {
         "match": {
           "content": "2016"
         }
       }
     ],
     "should": [
       {
         "rank_feature": {
           "field": "pagerank"
         }
       },
       {
         "rank_feature": {
           "field": "url_length",
           "boost": 0.1
         }
       },
       {
         "rank_feature": {
           "field": "topics.sports",
           "boost": 0.4
         }
       }
     ]
   }
 }
}

```

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [July 21, 2022, 1:33pm UTC](https://discuss.elastic.co/t/custom-query-in-dashboard/310165/2 "2022-07-21T13:33:19Z")

</div>

You can use custom Elasticsearch queries via the vega visualization: [Vega | Kibana Guide [8.3] | Elastic](https://www.elastic.co/guide/en/kibana/current/vega.html)

---

<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:** [August 18, 2022, 1:33pm UTC](https://discuss.elastic.co/t/custom-query-in-dashboard/310165/3 "2022-08-18T13:33:44Z")

</div>

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