# How to pass arguments dynamically in kibana

**URL:** <https://discuss.elastic.co/t/how-to-pass-arguments-dynamically-in-kibana/145413>\
**Category:** Kibana\
**Created:** [August 21, 2018, 2:53pm UTC](https://discuss.elastic.co/t/how-to-pass-arguments-dynamically-in-kibana/145413 "2018-08-21T14:53:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthick\_tgi](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@karthick\_tgi](https://discuss.elastic.co/u/karthick_tgi)\
**Post date:** [August 21, 2018, 2:53pm UTC](https://discuss.elastic.co/t/how-to-pass-arguments-dynamically-in-kibana/145413/1 "2018-08-21T14:53:24Z")

</div>

i create a dashboard with using of multiple visualization like pie. vertical bar etc. If i give a arguments dynamically in backend side . It can be affect the dashboard visualization based on dynamic arguments in kibana.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [August 21, 2018, 8:38pm UTC](https://discuss.elastic.co/t/how-to-pass-arguments-dynamically-in-kibana/145413/2 "2018-08-21T20:38:04Z")

</div>

Most things in Kibana are controlled via the URL, so if you specify different URL parameters, you can control the visualization.

For example, if I create a bar chart where I want to plot the sum of duration, the URL will have something like this:

`aggs:!((enabled:!t,id:'1',params:(field:duration),schema:metric,type:avg))`

If I dynamically change `duration` to `start_time` it will update in the chart. This is currently the only way to specify dynamic parameters.

---

<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:** [September 18, 2018, 8:38pm UTC](https://discuss.elastic.co/t/how-to-pass-arguments-dynamically-in-kibana/145413/3 "2018-09-18T20:38:05Z")

</div>

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