I'm adding dashboards from Kibana in my website but I have a constraint : the end user doesn't have to get access to the Kibana platform! In order to deny this access, I retrieve the iframe server side by creating a custom controller (using Spring MVC) that make the call to Kibana.
Front side, I add an iframe like that :
<iframe src="http://mysite.com/viz/retrieve/1" width="100%" height="600px"></iframe>
As you can see, the src field doesn't point to Kibana but to my controller that will retrieve the content of the iframe. The call is working, I retrieve correctly the content of the iframe but I've got the following error message:
Kibana did not load properly. Check the server output for more information.
And I don't have any information on server output.
So... is my solution suitable for my need or is there a way to get the iframe without specifying the Kibana's address ?