# Kibana - Embedding dashboard in website with dynamic filter param

**URL:** <https://discuss.elastic.co/t/kibana-embedding-dashboard-in-website-with-dynamic-filter-param/241518>\
**Category:** Kibana\
**Created:** [July 16, 2020, 5:45pm UTC](https://discuss.elastic.co/t/kibana-embedding-dashboard-in-website-with-dynamic-filter-param/241518 "2020-07-16T17:45:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chezhian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chezhian/32/72279_2.png) [@chezhian](https://discuss.elastic.co/u/chezhian)\
**Post date:** [July 16, 2020, 5:45pm UTC](https://discuss.elastic.co/t/kibana-embedding-dashboard-in-website-with-dynamic-filter-param/241518/1 "2020-07-16T17:45:33Z")

</div>

Hi

I have the same needs as this blog some years back .

I want to embbed dashboard on my website:

- i need to know how to pass URL filters dynamically so i can show each customer only their dashboard data based in customer\_id field or other fields.
- Also how to remove the topbar add filter so they can create own filters
- And how to hide/remove the loading kibana picture while it is loading so users dont know we are using kibana as whitelabel.

> [@Embedding dashboard in website with dynamic filter param](https://discuss.elastic.co/t/embedding-dashboard-in-website-with-dynamic-filter-param/120510):
>
> I want to embbed dashboard on my website: i need to know how to pass URL filters dynamically so i can show each customer only their dashboard data based in customer\_id field or other fields. Also how to remove the topbar add filter so they can create own filters And how to hide/remove the loading kibana picture while it is loading so users dont know we are using kibana as whitelabel.

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [July 17, 2020, 11:13am UTC](https://discuss.elastic.co/t/kibana-embedding-dashboard-in-website-with-dynamic-filter-param/241518/2 "2020-07-17T11:13:54Z")

</div>

> - i need to know how to pass URL filters dynamically so i can show each customer only their dashboard data based in customer\_id field or other fields.

Those are part of the `_a` parameter of the URL. The easiest way to learn more is to go to Kibana, open a dashboard, add a filter and see how the `_a` parameter looks like. It's a rison-encoded javascript object.

E.g. this is an example of a "build.branch" matching "master": `&_a=(description:'',filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:b646ed00-7efc-11e8-bf69-63c8ef516157,key:build.branch,negate:!f,params:(query:master,type:phrase),type:phrase,value:master),query:(match:(build.branch:(query:master,type:phrase)))))`

> - Also how to remove the topbar add filter so they can create own filters

In the upcoming version 7.9 this will be configurable via URL parameter (with a UI in the "Share" context menu), but for earlier versions you will have to modify Kibana source code.

> - And how to hide/remove the loading kibana picture while it is loading so users dont know we are using kibana as whitelabel.

You will have to modify the source code for this as well. Being able to configure this is planned but there is no target release version yet.

---

<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:** [August 14, 2020, 11:13am UTC](https://discuss.elastic.co/t/kibana-embedding-dashboard-in-website-with-dynamic-filter-param/241518/3 "2020-08-14T11:13:55Z")

</div>

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