# Dynamic Routing in kibana

**URL:** <https://discuss.elastic.co/t/dynamic-routing-in-kibana/250536>\
**Category:** Kibana\
**Created:** [September 30, 2020, 3:59pm UTC](https://discuss.elastic.co/t/dynamic-routing-in-kibana/250536 "2020-09-30T15:59:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayasri\_Cimba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jayasri_cimba/32/50397_2.png) [@Jayasri\_Cimba](https://discuss.elastic.co/u/Jayasri_Cimba)\
**Post date:** [September 30, 2020, 3:59pm UTC](https://discuss.elastic.co/t/dynamic-routing-in-kibana/250536/1 "2020-09-30T15:59:01Z")

</div>

Is there a possibility where I can pass the fields to filter to an exisiting chart in kibana through the url ?

So I can see the chart with the filter that is applied

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [September 30, 2020, 6:28pm UTC](https://discuss.elastic.co/t/dynamic-routing-in-kibana/250536/2 "2020-09-30T18:28:35Z")

</div>

Using the URL Field formatter to do so isn't possible; however, you should be able to do so using [Scripted Fields](https://www.elastic.co/guide/en/kibana/current/scripted-fields.html)

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![Jayasri\_Cimba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jayasri_cimba/32/50397_2.png) [@Jayasri\_Cimba](https://discuss.elastic.co/u/Jayasri_Cimba)\
**Post date:** [October 1, 2020, 7:29pm UTC](https://discuss.elastic.co/t/dynamic-routing-in-kibana/250536/3 "2020-10-01T19:29:20Z")

</div>

I have used scripted fields before, but am not sure when you say we can create URL's ? could you throw me an example please. That would be really helpful.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [October 9, 2020, 8:02pm UTC](https://discuss.elastic.co/t/dynamic-routing-in-kibana/250536/4 "2020-10-09T20:02:45Z")

</div>

@Marius_Dragomir - any inputs?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 11, 2020, 8:53pm UTC](https://discuss.elastic.co/t/dynamic-routing-in-kibana/250536/5 "2020-10-11T20:53:33Z")

</div>

Ah, you want to create a filter automatically via the URL? That is actually possible.  
Easiest way to do it (as It really depends on your Kibana version) will be to create a dashboard, copy the URL, then create a filter for it and copy the second URL.  
If you compare them the part of the URL that does the filter should be pretty obvious.  
Then from you app you can just add that part to the Kibana url when you click on it.

---

<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:** [November 8, 2020, 8:53pm UTC](https://discuss.elastic.co/t/dynamic-routing-in-kibana/250536/6 "2020-11-08T20:53:42Z")

</div>

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