# Kibana URL not updating with Filters

**URL:** <https://discuss.elastic.co/t/kibana-url-not-updating-with-filters/318602>\
**Category:** Kibana\
**Tags:** kql-kibana-query-language\
**Created:** [November 10, 2022, 2:24am UTC](https://discuss.elastic.co/t/kibana-url-not-updating-with-filters/318602 "2022-11-10T02:24:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pk80103](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pk80103](https://discuss.elastic.co/u/pk80103)\
**Post date:** [November 10, 2022, 2:24am UTC](https://discuss.elastic.co/t/kibana-url-not-updating-with-filters/318602/1 "2022-11-10T02:24:32Z")

</div>

Hi Everyone,

I have an issue with my Kibana Dashboard. Whenever I update some filter the vlaues of the URL is expected to be changes but it is not changing. It is remaining same.

Currect values for URL in Kibana Dashboard:

```auto
https://hostname:5601/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-5y,to:now))

```

Expected Value:

```auto
https://hostname:5601/app/dashboards#/view/********************?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-5y,to:now))&_a=(description:*******888,filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:' ********************',key:ID.keyword,negate:!f,params:!('695'),type:phrases,value:'695'),query:(bool:(minimum_should_match:1,should:!((match_phrase:(ID.keyword:'695'))))))),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!f,title:'titlename',viewMode:view)

```

This is needed as our Angular app can replace the values for filter as per the user requirement.  
Please let me if any questions.

Thanks

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [November 10, 2022, 2:09pm UTC](https://discuss.elastic.co/t/kibana-url-not-updating-with-filters/318602/2 "2022-11-10T14:09:43Z")

</div>

Hi Praveen.

The parameters in the URL are encoded in [RISON](https://github.com/Nanonid/rison). I copied parts of your expected value into [this decoder tool](https://observablehq.com/@nyurik/rison-online-decoder-encoder). After review, I believe you have too many parentheses after the `query` parameter (look for `ID.keyword:'695'`).

---

<div class="post-metadata">

**Author:** ![pk80103](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pk80103](https://discuss.elastic.co/u/pk80103)\
**Post date:** [November 10, 2022, 3:13pm UTC](https://discuss.elastic.co/t/kibana-url-not-updating-with-filters/318602/3 "2022-11-10T15:13:28Z")

</div>

> [@nickpeihl](#):
>
> parentheses aft

Hi Nick,

Thanks for responding.

I dont have concern or problem with how many parameters we have in Expected URL.

Actully the URL I pasted as Expected part is from different Kibana server where things are working fine.

But in new installation I am not getting the URL updated with filter applied at all. So the URL is not changing with filter applied as it should be.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9b01bee802018dbc1b4359bb6723a39340d2c96b.png)

In this image, the yellow highlighted part where a filter is applied but its not updating in the URL, is there any config changes required to update in the URL also.

Thanks  
Praveen

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [November 10, 2022, 7:19pm UTC](https://discuss.elastic.co/t/kibana-url-not-updating-with-filters/318602/4 "2022-11-10T19:19:55Z")

</div>

Hi Praveen,

Thanks for the additional context, I understand better now. You are experiencing [this bug](https://github.com/elastic/kibana/issues/139500). Unfortunately, we do not have a fix for this yet.

---

<div class="post-metadata">

**Author:** ![pk80103](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pk80103](https://discuss.elastic.co/u/pk80103)\
**Post date:** [November 11, 2022, 4:44pm UTC](https://discuss.elastic.co/t/kibana-url-not-updating-with-filters/318602/5 "2022-11-11T16:44:25Z")

</div>

Hi Nick,

Thanks for your response. I went through the Github bug also.

Could you please share some alternative to acheive the same functionality as we have an Angular app calling different filter applied dashboard using its URL. But now it is starting from Home Page without any filter applied.

Thanks in Advance  
Praveen

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [November 14, 2022, 3:02pm UTC](https://discuss.elastic.co/t/kibana-url-not-updating-with-filters/318602/6 "2022-11-14T15:02:17Z")

</div>

Hi Praveen. I think you could write your filter in the Kuery bar instead. The URL should persist Kuery bar filters.

 ![Screen Shot 2022-11-14 at 10.01.47 AM](https://us1.discourse-cdn.com/elastic/original/3X/8/0/805fb0710d025310d3764be30b71912f2952f5b3.png)

---

<div class="post-metadata">

**Author:** ![DMinovski](https://avatars.discourse-cdn.com/v4/letter/d/5fc32e/32.png) [@DMinovski](https://discuss.elastic.co/u/DMinovski)\
**Post date:** [December 8, 2022, 11:38pm UTC](https://discuss.elastic.co/t/kibana-url-not-updating-with-filters/318602/7 "2022-12-08T23:38:18Z")

</div>

@pk80103 After you add a filter on the dashboard, can you go to Chrome's Dev Tools -\> Application -\> Session Storage and find the URL where the dashboard is? Then, find its key dashboardStateManagerPanels and right-click on the expanding field `filters` -\> Copy object. You can input this JSON object in the Rison encoder above, and get it in a format that you can use in the Angular app URL in the part with the appState, `&_a=`.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/7/2771e7bbd157552209bd63bc163c1ff6bb9f5696.png)

---

<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:** [January 5, 2023, 11:39pm UTC](https://discuss.elastic.co/t/kibana-url-not-updating-with-filters/318602/8 "2023-01-05T23:39:05Z")

</div>

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