# Kibana integration: tracking filters, etc external to iframe

**URL:** <https://discuss.elastic.co/t/kibana-integration-tracking-filters-etc-external-to-iframe/30060>\
**Category:** Kibana\
**Created:** [September 26, 2015, 3:41pm UTC](https://discuss.elastic.co/t/kibana-integration-tracking-filters-etc-external-to-iframe/30060 "2015-09-26T15:41:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![djmcgreal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/djmcgreal/32/52956_2.png) [@djmcgreal](https://discuss.elastic.co/u/djmcgreal)\
**Post date:** [September 26, 2015, 3:41pm UTC](https://discuss.elastic.co/t/kibana-integration-tracking-filters-etc-external-to-iframe/30060/1 "2015-09-26T15:41:00Z")

</div>

Hi Kibana users!

I'm excited about my current project, because Elasticsearch and Kibana have proved to be exceptional tools.

I have some analysis that happens external to these systems and I would like to present all the data in one UI. To this end I have an iframe which houses an embedded Kibana dashboard. I'd like to know how I can monitor Kibana's (filters and other state) within the iframe so that I can keep the external analysis in sync.

My web developer tooling shows the 'src' attribute of the iframe does not change, and when I added a MutationObserver to the iframe (with attributes:true config), nothing was triggered. If I do document.getElementById('kibana').contentWindow.window.location.hash, I get get access to the filter via the hash, but I have no idea how to monitor this.

Any help gratefully received!  
Dan.

---

<div class="post-metadata">

**Author:** ![djmcgreal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/djmcgreal/32/52956_2.png) [@djmcgreal](https://discuss.elastic.co/u/djmcgreal)\
**Post date:** [September 27, 2015, 8:02pm UTC](https://discuss.elastic.co/t/kibana-integration-tracking-filters-etc-external-to-iframe/30060/2 "2015-09-27T20:02:37Z")

</div>

The likely answer turns out to be [popstate](https://developer.mozilla.org/en-US/docs/Web/Events/popstate). Not massively easy to use for [my use case](https://vaadin.com/forum#!/thread/11081211), but that's not your problem 😄

Still, any other suggestions appreciated.

---

<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:** [July 6, 2017, 2:12pm UTC](https://discuss.elastic.co/t/kibana-integration-tracking-filters-etc-external-to-iframe/30060/3 "2017-07-06T14:12:19Z")

</div>


