# How to clear filters from the Dashboard?

**URL:** <https://discuss.elastic.co/t/how-to-clear-filters-from-the-dashboard/297235>\
**Category:** Kibana\
**Created:** [February 15, 2022, 11:11am UTC](https://discuss.elastic.co/t/how-to-clear-filters-from-the-dashboard/297235 "2022-02-15T11:11:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![m-amano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-amano/32/62977_2.png) [@m-amano](https://discuss.elastic.co/u/m-amano)\
**Post date:** [February 15, 2022, 11:11am UTC](https://discuss.elastic.co/t/how-to-clear-filters-from-the-dashboard/297235/1 "2022-02-15T11:11:55Z")

</div>

We upgraded Elastic Cloud version 7.13.2 to 7.15.2.

In our web page, we have a button and embed Dashboard like this.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/a/4a810eb40ed4e0b023bc9ba4eaa2769a7f2502fa.png)

The dashboard URL in iframe is saved object embed code what Kibana provides which is like below.

```auto
https://[DOMAIN].co.jp/s/[SPACE]/app/kibana#/dashboard/[ID]?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-7d%2Fd%2Cto%3Anow))

```

When the button is clicked, above URL is reloaded to clear existing filters and update the dashboard which worked fine with v.7.13.2.  
However in v.7.15.2, filters reappear and the dashboard data is filtered although the button is clicked.

What should I do to use the button just like before?  
If the filter state is stored in the url, how can I clear the state and go back to unfiltered dashboard again?

---

<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:** [February 15, 2022, 8:38pm UTC](https://discuss.elastic.co/t/how-to-clear-filters-from-the-dashboard/297235/2 "2022-02-15T20:38:35Z")

</div>

Hi @m-amano, this is a good question! Yes the way that dashboard reads state from the URL has changed between 7.13 and 7.15. But the good news is that it still [reads state on soft refresh](https://github.com/elastic/kibana/pull/109354).

The difference is that now the filters aren't **stored** in the URL, so you actually have to override them. Try using this url instead:

```auto
https://[DOMAIN].co.jp/s/[SPACE]/app/kibana#/dashboard/[ID]?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-7d%2Fd%2Cto%3Anow))&_a=(filters:())

```

The difference here is the `&_a=(filters:())` at the end, which tells the dashboard to remove all filters.

---

<div class="post-metadata">

**Author:** ![m-amano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-amano/32/62977_2.png) [@m-amano](https://discuss.elastic.co/u/m-amano)\
**Post date:** [February 15, 2022, 10:51pm UTC](https://discuss.elastic.co/t/how-to-clear-filters-from-the-dashboard/297235/3 "2022-02-15T22:51:46Z")

</div>

@devon.thomson  
Thanks for your reply! I'll try with the url you mentioned!

---

<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:** [March 15, 2022, 10:51pm UTC](https://discuss.elastic.co/t/how-to-clear-filters-from-the-dashboard/297235/4 "2022-03-15T22:51:56Z")

</div>

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