# Need to apply filter to KIBANA dashboard automatically through html

**URL:** <https://discuss.elastic.co/t/need-to-apply-filter-to-kibana-dashboard-automatically-through-html/322122>\
**Category:** Kibana\
**Created:** [December 28, 2022, 8:29pm UTC](https://discuss.elastic.co/t/need-to-apply-filter-to-kibana-dashboard-automatically-through-html/322122 "2022-12-28T20:29:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [December 29, 2022, 5:27pm UTC](https://discuss.elastic.co/t/need-to-apply-filter-to-kibana-dashboard-automatically-through-html/322122/2 "2022-12-29T17:27:37Z")

</div>

You can search this forum for similar questions, like this one

> [@Passing parameters or filter in kibana URL from Web-App](https://discuss.elastic.co/t/passing-parameters-or-filter-in-kibana-url-from-web-app/141568/2):
>
> the filters are part of url, take a look at this example: http://localhost:5601/beg/app/kibana#/dashboard/7adfa750-4c81-11e8-b3d7-01146121b73d?\_g=()&\_a=(description:'Analyze%20mock%20flight%20data%20for%20ES-Air,%20Logstash%20Airways,%20Kibana%20Airlines%20and%20JetBeats',filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:d3d7af60-4c81-11e8-b3d7-01146121b73d,key:Carrier,negate:!f,params:(query:'Logstash%20Airways',type:phrase),type:phrase,value:'Logstash%20Airways'),query:(ma…

Briefly, there is no public API for dashboard URL parameters so you need to inspect your URLs manually. or just copy the whole string for each case and update your iframe with it. In any case this is going to be weak and will need update with any upgrade of the stack.

Worth also mentioning that maybe you can do the full experience inside kibana using [drilldowns](https://www.elastic.co/guide/en/kibana/current/create-drilldowns.html) to offer a generic dashboard with the main options that navigates to a detailed dashboard filtered by the selected option.

---

_[View the full topic](https://discuss.elastic.co/t/need-to-apply-filter-to-kibana-dashboard-automatically-through-html/322122)._
