# How to build the dynamic query in kibana visualization

**URL:** https://discuss.elastic.co/t/how-to-build-the-dynamic-query-in-kibana-visualization/182354
**Category:** Kibana
**Created:** [May 23, 2019, 6:22am UTC](https://discuss.elastic.co/t/how-to-build-the-dynamic-query-in-kibana-visualization/182354 "2019-05-23T06:22:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Apoorva\_bhatt](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@Apoorva\_bhatt](https://discuss.elastic.co/u/Apoorva_bhatt)
#### Post date: [May 23, 2019, 6:22am UTC](https://discuss.elastic.co/t/how-to-build-the-dynamic-query-in-kibana-visualization/182354/1 "2019-05-23T06:22:11Z")

</div>

Hi All,

I am using kibana version 4.5.I have pushed the data of the Load runner analysis file to elastic search. While creating the visualization in kibana ,I want the query to display only the specific data like (some transaction names) for specific Run ID(An unique Id that will be generated for each test run) in the visualization.The query should be written in such a way that,the Run ID should not be hard coded.It should be Dynamic.

Has anybody had to solve this before? Does anybody have any good  
suggestions here?

Thanks in advance,  
Apoorva

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [May 27, 2019, 9:14pm UTC](https://discuss.elastic.co/t/how-to-build-the-dynamic-query-in-kibana-visualization/182354/2 "2019-05-27T21:14:26Z")

</div>

Hello Apoorva,

Unfortunately this isn't possible. @Bargs do you have any inputs?

Also we just released 7.1. Do you think you would like to upgrade? 🙂

[https://www.elastic.co/blog/category/releases](https://www.elastic.co/blog/category/releases)

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![Apoorva\_bhatt](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@Apoorva\_bhatt](https://discuss.elastic.co/u/Apoorva_bhatt)
#### Post date: [May 29, 2019, 6:59am UTC](https://discuss.elastic.co/t/how-to-build-the-dynamic-query-in-kibana-visualization/182354/3 "2019-05-29T06:59:09Z")

</div>

Hello Bhavya,

I have tried the same thing in kibana 6.4 version.I'm trying to assign one term to another term in the query which I have pushed from elastic search.But I'm not seeing any data coming up.

Can you please tell me the way,so that I can assign one term to another the in the query.(For ex: RunID:Run1 where Run1 contains some value)

Thanks,  
Apoorva

---

<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: [June 26, 2019, 6:59am UTC](https://discuss.elastic.co/t/how-to-build-the-dynamic-query-in-kibana-visualization/182354/4 "2019-06-26T06:59:09Z")

</div>

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