How can we query Kibana?
You can go to kibana\kibana-4.5.1-windows\optimize\bundles\kibana.bundle.js file,search the function "Transport.prototype.request = function (params, cb)",and add in the first line parent.postMessage(params.body, "*");
Now go to the controller or script that manage the iframe(iframe parent)and add
$window.addEventListener("message", function (event) { var data=event.data; });
for example:
<iframe id="ifr" src="http://localhost:5601/goto/6ba8a6b8ceef3tyt454789e4fe5cf5"></iframe> <script> $window.addEventListener("message", function (event) { var data=event.data; }); </script
Now you will get the request query