Create a visualization, apply the filters, then save the visualization
Click "Share" at the top
Copy the iframe code
Paste the iframe code into your external HTML.
when i paste the iframe code in any external site, kibana login page appears and when i enter my username and password the login page just gets reloaded and asks for the username and password again. the same process is repeating and it doesn't take me inside kibana. Is there any proper way to embed our kibana visualization to an external page?? please help me
That sounds like a completely different problem, I'd suggest you to create a separate Discuss post. But before that search for this error message in the the forum and see if anyone had similar problem in the past.
I tried it on Firefox, which I never use, and it works indeed.
How is it going to perform if this goes into production? Should users delete their browser history all the time?
my guess is that, in any browser if you use an iFrame site to run your code and at the same time you are logged into kibana means it will definitely not work.
I have deployed my application to the cloud to test it.
You can try to log in with user discuss and password discuss.
It has no access to do anything else than view the default sample dashboard.
It does indeed work in a private browser with no history...
it would be great if this also works for other users that are logged in their accounts on Kibana...
Our customers would be able to view this dashboard, so that is fine, but it's not ideal.
I do hope in the future it will be better, and allow me to view it without having to clear my browser history.
One option would be to go to the Kibana dashboard, login, and then go back to the embedded page ...
@nathansegers we faced the same issue and the solution to this issue is you should add this line/setting in your kibana.yml file xpack.security.sameSiteCookies: None and your ELK stack version should be above 7.8.0
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.