Kibana URL not updating with Filters

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:

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

Expected Value:

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

Hi Praveen.

The parameters in the URL are encoded in RISON. I copied parts of your expected value into this decoder tool. After review, I believe you have too many parentheses after the query parameter (look for ID.keyword:'695').

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.

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

Hi Praveen,

Thanks for the additional context, I understand better now. You are experiencing this bug. Unfortunately, we do not have a fix for this yet.

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

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