# Kibana Iframe Communicator

**URL:** <https://discuss.elastic.co/t/kibana-iframe-communicator/83037>\
**Category:** Kibana\
**Created:** [April 20, 2017, 11:19am UTC](https://discuss.elastic.co/t/kibana-iframe-communicator/83037 "2017-04-20T11:19:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehdi\_Chilla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehdi_chilla/32/17579_2.png) [@Mehdi\_Chilla](https://discuss.elastic.co/u/Mehdi_Chilla)\
**Post date:** [April 20, 2017, 11:19am UTC](https://discuss.elastic.co/t/kibana-iframe-communicator/83037/1 "2017-04-20T11:19:06Z")

</div>

Hello,

I'm start on kibana and javascript and i search how to work the plugin [Kibana-Iframe-Communicator](https://github.com/ytzlax/kibana-iframe-communicator-plugin) .  
I try to send to my dashboard different filters using windows.postmessage but I do not understand how to format my request  
Is there anyone who already use this plugin?

thank you in advance

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [April 21, 2017, 1:45pm UTC](https://discuss.elastic.co/t/kibana-iframe-communicator/83037/2 "2017-04-21T13:45:13Z")

</div>

@Mehdi_Chilla I don't have any experience using this plugin, but from looking at the [README.md](http://README.md) in that github repo, it looks like you might be able to do so using:

`myIframe.contentWindow.postMessage('searchRequest###' + this.iframeFinalUrl, '*'); this.iframeFinalUrl is your kibana URI containing the complete dashboard data such as: http://{KIBANA-HOST}/app/kibana#/dashboard/{OPTIONAL-DASHBOARD-NAME}?embed&_g={GLOBAL-STATE-DATA}&_a={APP-STATE-DATA}`

You might have better success posting in the GitHub issues for this repo.

---

<div class="post-metadata">

**Author:** ![Mehdi\_Chilla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehdi_chilla/32/17579_2.png) [@Mehdi\_Chilla](https://discuss.elastic.co/u/Mehdi_Chilla)\
**Post date:** [April 21, 2017, 2:09pm UTC](https://discuss.elastic.co/t/kibana-iframe-communicator/83037/3 "2017-04-21T14:09:21Z")

</div>

Hello,  
Thank you for your answer .  
I managed to make it work properly  
I will watch if I can close this post

Mehdi

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [April 21, 2017, 2:10pm UTC](https://discuss.elastic.co/t/kibana-iframe-communicator/83037/4 "2017-04-21T14:10:18Z")

</div>

@Mehdi_Chilla I'm glad to hear you were able to figure it out!

---

<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 19, 2017, 2:17pm UTC](https://discuss.elastic.co/t/kibana-iframe-communicator/83037/5 "2017-05-19T14:17:10Z")

</div>

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