Home / Companies / Elastic / Blog / Post Details
Content Deep Dive

How to embed Kibana dashboards

Blog post from Elastic

Post Details
Company
Date Published
Author
-
Word Count
2,127
Language
-
Hacker News Points
-
Summary

Embedding Kibana dashboards into JavaScript web applications can be a common task for frontend engineers to facilitate user-generated views quickly. The process involves using HTML iframes to incorporate dashboards, ensuring that security measures like content security policies and sandbox properties are in place. Developers must also consider performance implications due to the bandwidth consumption of iframes and limit the number used. To enhance user experience, the integration of automatic login through anonymous authentication or SAML SSO is recommended, while custom controls can be employed for cohesive design with existing applications. This involves manipulating URL parameters to pass user-selected data, such as date ranges, to the dashboard, using techniques like Rison and URI encoding. As dashboards may change, using a saved object URL ensures updates are captured, and developers should monitor for breaking changes with new Kibana versions.