简体   繁体   English

在 Angular 10 应用程序中嵌入 kibana 仪表板可视化

[英]Embed kibana dashboard visualizations in Angular 10 application

Is there any tool or plugin which can be used to embed kibana visualization, in my angular 10 web application.?在我的 angular 10 web 应用程序中,是否有任何工具或插件可用于嵌入 kibana 可视化?

You can share dashboard as embed code using iFrame.您可以使用 iFrame 将仪表板共享嵌入代码 Please check link for more information.请检查链接以获取更多信息。 below is discription mentioned in documentation.以下是文档中提到的描述。

Display your dashboard or visualization on an internal company website or personal web page with an iframe.在公司内部网站或带有 iframe 的个人 web 页面上显示您的仪表板或可视化。 Embedding other Kibana objects is generally supported, but you might need to manually craft the proper HTML code.通常支持嵌入其他 Kibana 对象,但您可能需要手动制作正确的 HTML 代码。

You could probably do that by querying iframe DOM and redirecting actions from your angular applications.您可以通过查询 iframe DOM 并从您的 angular 应用程序重定向操作来做到这一点。 To do that, iframe and the Angular app should be on same site (you can do reverse proxy) to prevent CORS and XSS.为此,iframe 和 Angular 应用程序应该位于同一站点(您可以进行反向代理)以防止 CORS 和 XSS。 Please take a look at this post .请看看这篇文章

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM