# Kibana filter issues on embedded dashboards

**URL:** https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898
**Category:** Kibana
**Created:** [March 31, 2021, 11:24am UTC](https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898 "2021-03-31T11:24:25Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![a.deharo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a.deharo/32/86386_2.png) [@a.deharo](https://discuss.elastic.co/u/a.deharo)
#### Post date: [March 31, 2021, 11:24am UTC](https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898/1 "2021-03-31T11:24:26Z")

</div>

Hi everyone,

I recently upgraded my Elastic stack version from v7.11.2 to v7.12.0, and I'm starting to see some weird behavior on both filters and controls visualizations on embedded dashboards from Kibana. I guess the behavior I'm experiencing with the controls visualization is due to it using Kibana filters internally, which would mean everything is just a bug on the filters.

Searching through the different opened issues at GitHub, I've been able to find the ones that actually describe the problem that I'm facing right now:

> <https://github.com/elastic/kibana/issues/94465>
>
> Kibana version: 7.11, 7.12
> Describe the bug:
> Part of #93200. When viewing a dashboard from an iframe, filter changes are not applied to...

> <https://github.com/elastic/kibana/issues/94467>
>
> Kibana version: 7.11, 7.12
> Describe the bug:
> Part of #93200. If a filter is added, and the refresh button is clicked, the filter...

Despite these issues saying that these problems were already present in v7.11.x, I can say for sure that it was v7.12.0 that introduced these bugs, since I've had a stable and updated cluster with all three v7.11.0, v7.11.1 and v7.11.2, and never experienced these issues before last Friday when I decided to upgrade the cluster to v7.12.0 after carefully reading the release notes.

Although the issues have been officially reported for almost three weeks now, I don't see they are attracting quite the attention they deserve, so I was wondering if this is not an isolated issue due to some specific configuration I have or it is indeed a version-wide bug. It could, of course, also be a browser compatibility problem with some new `iframe` policy I'm not aware about, but I've already tested it in all Chrome, Firefox and Edge (in their latest versions), and all three present the same problems.

Is this actually a bug? Has anyone been able to reproduce it? Has anyone found any feasible workaround so far while Elastic addresses it?

---

<div class="post-metadata">

### Author: ![devon.thomson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devon.thomson/32/85468_2.png) [@devon.thomson](https://discuss.elastic.co/u/devon.thomson)
#### Post date: [March 31, 2021, 3:07pm UTC](https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898/2 "2021-03-31T15:07:18Z")

</div>

Hi @a.deharo, this is indeed a Kibana bug, and is version-wide. There hasn't been much activity on the issue, but I've been researching and building a fix. This should be available for 7.12.1.

As for which version it initially appeared in, I can double check 7.11 locally and see if it works correctly. If so, I will remove the 7.11 tag from those issues.

Thank you for raising this, and we will be in touch as things change.

---

<div class="post-metadata">

### Author: ![devon.thomson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devon.thomson/32/85468_2.png) [@devon.thomson](https://discuss.elastic.co/u/devon.thomson)
#### Post date: [March 31, 2021, 9:29pm UTC](https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898/3 "2021-03-31T21:29:30Z")

</div>

I was able to identify and patch the issue here:

> <https://github.com/elastic/kibana/pull/95997>

It looks like the code that caused the issue was added in 7.11.0

---

<div class="post-metadata">

### Author: ![a.deharo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a.deharo/32/86386_2.png) [@a.deharo](https://discuss.elastic.co/u/a.deharo)
#### Post date: [April 1, 2021, 6:55am UTC](https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898/4 "2021-04-01T06:55:04Z")

</div>

Thank you so much @devon.thomson for your quick response! Looking forward for the update to v7.12.1 😄

How curious, even with the code being introduced in v7.11.x, it didn't trigger any visible errors (at least to me) up to v7.12.0.

Any way, thank you so much!

---

<div class="post-metadata">

### Author: ![Phani\_Vemuri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_vemuri/32/87372_2.png) [@Phani\_Vemuri](https://discuss.elastic.co/u/Phani_Vemuri)
#### Post date: [April 20, 2021, 4:54am UTC](https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898/5 "2021-04-20T04:54:28Z")

</div>

Hi Guys,

We are facing this issue as well. Thanks for the upcoming fix. We use Cloud operator on K8 to setup our stack. Will the V7.12.1 release also include a new Kibana docker image with that new release? If we wish to do an interim fix before the docker image is available, can we use the code base and create a custom image?

Thank you very much.

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [April 20, 2021, 5:24pm UTC](https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898/6 "2021-04-20T17:24:57Z")

</div>

@Phani_Vemuri yes, the 7.12.1 release will include the new Kibana docker image.

If you really need the fix immediately I think you can access the manifest file from the snapshot build this morning here [https://snapshots.elastic.co/7.12.1-0a0d16c3/manifest-7.12.1-SNAPSHOT.json](https://snapshots.elastic.co/7.12.1-0a0d16c3/manifest-7.12.1-SNAPSHOT.json) and get the link to the snapshot docker image.  
**WARNING:** You should not use a snapshot build in production. It is unsupported. In addition, upgrading from a production build to a snapshot build or from a snapshot build to a production build is not supported. Licenses are not compatible between snapshot and production builds. You may also have problems using a Kibana snapshot build with a production Elasticsearch build.  
You should really only use snapshot builds for testing purposes.

Regards,  
Lee

---

<div class="post-metadata">

### Author: ![Phani\_Vemuri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_vemuri/32/87372_2.png) [@Phani\_Vemuri](https://discuss.elastic.co/u/Phani_Vemuri)
#### Post date: [April 21, 2021, 4:05am UTC](https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898/7 "2021-04-21T04:05:41Z")

</div>

Thanks, @LeeDr . I downloaded the Kibana snapshot and will use it for test. I am assuming that Kibana can run on a higher patch version than Elasticsearch.

> **[Set up | Kibana Guide \[7.12\] | Elastic](https://www.elastic.co/guide/en/kibana/current/setup.html)**

How do we track an expected delivery date for the official build?

Best  
Phani

---

<div class="post-metadata">

### Author: ![Phani\_Vemuri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_vemuri/32/87372_2.png) [@Phani\_Vemuri](https://discuss.elastic.co/u/Phani_Vemuri)
#### Post date: [April 28, 2021, 1:16pm UTC](https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898/8 "2021-04-28T13:16:35Z")

</div>

Just to confirm that the fix works after applying 7.12.1. Thank you

---

<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: [May 26, 2021, 1:17pm UTC](https://discuss.elastic.co/t/kibana-filter-issues-on-embedded-dashboards/268898/9 "2021-05-26T13:17:31Z")

</div>

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