# Pinned Filters Passed Through Dashboard URL Are Not Applied

**URL:** <https://discuss.elastic.co/t/pinned-filters-passed-through-dashboard-url-are-not-applied/340162>\
**Category:** Kibana\
**Created:** [August 4, 2023, 9:13pm UTC](https://discuss.elastic.co/t/pinned-filters-passed-through-dashboard-url-are-not-applied/340162 "2023-08-04T21:13:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevfar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevfar/32/121813_2.png) [@kevfar](https://discuss.elastic.co/u/kevfar)\
**Post date:** [August 4, 2023, 9:13pm UTC](https://discuss.elastic.co/t/pinned-filters-passed-through-dashboard-url-are-not-applied/340162/1 "2023-08-04T21:13:16Z")

</div>

Hello! I recently posted a question regarding this issue, but unfortunately the topic was closed before I got around to responding to the first reply. I am working for a company that utilizes Kibana dashboards to view client data and I have been tasked with passing in filters through the dashboards URL (the embedded dashboards are rendered inside an iFrame) but the filters I pass only appear briefly and then disappear (note: filters are being passed through the URL to the dashboards globalState).

The Kibana version we use is primarily 7.17.

I was given a link to the following: [The filters added to the dashboard have been removed from the url · Issue #123401 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/123401#issuecomment-1039311625))  
I however am still confused as to how to utilize this to solve my problem and have a few questions.

My question is this: This code has a link to a PR which suggests appending the following code, " `{yourKibanaURL}/app/dashboards#/create?_a=(query:(language:kuery,query:'testing hello'))` ", to solve the problem. Would this result in a new dashboard being created, if so would this be an efficient solution to my problem (pinned filters not being applied when passed through the Kibana URL given to an iFrame). Our platform has hundreds of dashboards across multiple spaces and they are accessed daily by a variety of employees to monitor client systems. Would this solution be inefficient considering the scale of our enterprise?

I have experimented with multiple solutions, and have successfully passed in filters that remain on the dashboard (this however required using a timeout which after 10 seconds would modify the dashboard URL to then include the desired pinned filters), but this obviously is not a solution I want to use.

If there are any other solutions that would help solve our problem, please suggest them!

Thank you!

---

<div class="post-metadata">

**Author:** ![kevfar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevfar/32/121813_2.png) [@kevfar](https://discuss.elastic.co/u/kevfar)\
**Post date:** [August 11, 2023, 3:51pm UTC](https://discuss.elastic.co/t/pinned-filters-passed-through-dashboard-url-are-not-applied/340162/2 "2023-08-11T15:51:05Z")

</div>

Hello again, just wanted to follow up! TO answer a question from my previous post, the URL I pass in to the dashboard is reset, the URL that it ultimately renders the dashboard with does not include the filters that I pass through the URL given to the iFrame.

---

<div class="post-metadata">

**Author:** ![kevfar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevfar/32/121813_2.png) [@kevfar](https://discuss.elastic.co/u/kevfar)\
**Post date:** [August 11, 2023, 3:54pm UTC](https://discuss.elastic.co/t/pinned-filters-passed-through-dashboard-url-are-not-applied/340162/3 "2023-08-11T15:54:27Z")

</div>

Also, as a side question: to by-pass this issue I have been considering building a custom Kibana plug-in to accept and apply filters from our React front-end. Would this be an option worth pursuing? We are currently using versions 7.17.6, though a few older dashboards may be using 7.17.3 or 7.17.4.

---

<div class="post-metadata">

**Author:** ![kevfar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevfar/32/121813_2.png) [@kevfar](https://discuss.elastic.co/u/kevfar)\
**Post date:** [August 21, 2023, 8:41pm UTC](https://discuss.elastic.co/t/pinned-filters-passed-through-dashboard-url-are-not-applied/340162/4 "2023-08-21T20:41:20Z")

</div>

Hello! Just posting in here again so that topic doesn't close! If any one has any insight or information, I'd highly appreciate some assistance!

---

<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, 2023, 8:41pm UTC](https://discuss.elastic.co/t/pinned-filters-passed-through-dashboard-url-are-not-applied/340162/5 "2023-09-18T20:41:54Z")

</div>

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