# Passing Run time parameters

**URL:** <https://discuss.elastic.co/t/passing-run-time-parameters/76750>\
**Category:** Kibana\
**Created:** [February 28, 2017, 9:40am UTC](https://discuss.elastic.co/t/passing-run-time-parameters/76750 "2017-02-28T09:40:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yogen](https://avatars.discourse-cdn.com/v4/letter/y/73ab20/32.png) [@yogen](https://discuss.elastic.co/u/yogen)\
**Post date:** [February 28, 2017, 9:40am UTC](https://discuss.elastic.co/t/passing-run-time-parameters/76750/1 "2017-02-28T09:40:10Z")

</div>

Hi,  
I am 2 weeks into Kibana, and I am trying to get a grip on some of the visualizations.  
I have the input data as follows, --\> country\_id, auditor\_id, Store\_id, date\_id  
I want to draw a Vertical bar chart, by passing the country\_id as a run time parameter. Is it possible to achieve this. Thanks.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [February 28, 2017, 12:15pm UTC](https://discuss.elastic.co/t/passing-run-time-parameters/76750/2 "2017-02-28T12:15:43Z")

</div>

@yogen are you wanting to filter your bar-chart to display only information for a specific country\_id?

---

<div class="post-metadata">

**Author:** ![yogen](https://avatars.discourse-cdn.com/v4/letter/y/73ab20/32.png) [@yogen](https://discuss.elastic.co/u/yogen)\
**Post date:** [February 28, 2017, 1:40pm UTC](https://discuss.elastic.co/t/passing-run-time-parameters/76750/3 "2017-02-28T13:40:49Z")

</div>

Thanks for your reply. Yes,..I want to show stores audited for different days for a given country. The value of country\_id is decided at run time. There are ~ 35 different countries.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [February 28, 2017, 1:49pm UTC](https://discuss.elastic.co/t/passing-run-time-parameters/76750/4 "2017-02-28T13:49:30Z")

</div>

@yogen you can use the "query bar" at the top of the visualization to filter by country. The following is an example of filtering by the field 'geo.src' for the value 'US':

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/8bac4de189b4b8443c867509b703c8944278a4a8.png)

---

<div class="post-metadata">

**Author:** ![yogen](https://avatars.discourse-cdn.com/v4/letter/y/73ab20/32.png) [@yogen](https://discuss.elastic.co/u/yogen)\
**Post date:** [February 28, 2017, 3:39pm UTC](https://discuss.elastic.co/t/passing-run-time-parameters/76750/5 "2017-02-28T15:39:56Z")

</div>

Got you thanks!

---

<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:** [March 28, 2017, 3:40pm UTC](https://discuss.elastic.co/t/passing-run-time-parameters/76750/6 "2017-03-28T15:40:32Z")

</div>

Closed on March 28, 2017, 3:40pm UTC

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