升级 Log Analytics 仪表板可视化效果Upgrading your Log Analytics Dashboard visualizations

我们在 2020 年 2 月引入了一项改进的可视化技术。In February 2020, we introduced an improved visualization technology. 该技术改进并增强了可视化查询结果以及快速获得丰富见解的功能。Improving and enhancing your ability to visualize query results and reach powerful insights, fast.

可以在此 Azure 更新网页中详细了解此项升级。You can read more about this upgrade in this Azure Update.

这项新的可视化技术正在为围绕查询结果集开发新体验和改进体验铺平道路。This new visualization technology is paving the way for new and improved experiences around your query result set.

Azure 中的仪表板Dashboards in Azure

Azure 仪表板是将整个 Azure 外围应用的状态可视化的一种方式。Azure dashboards are a way to visualize the status of your entire Azure surface area. 它们旨在让用户通过一个窗口监视 Azure 资产状态,并通过各种快捷方式执行常见操作。They are designed to provide a single pane of glass to your Azure estate status and allow a variety of shortcuts to common actions.

有关详细信息,请参阅 Azure 仪表板For more information, see Azure dashboards

升级 Log Analytics 仪表板部件Upgrading Log Analytics dashboard parts

新的可视化技术解决了旧实现中的一些常见问题,并在固定的 Log Analytics 部件中引入了一些新功能:The new visualization technology addresses some common issues with the old implementation and introduces some new capabilities to pinned Log Analytics parts:

  • 相同的可用类型 - 在 Log Analytics 中提供的所有可视化效果类型也都在仪表板的固定部件中提供。Same available types - All visualization types available in Log Analytics are available as pinned parts on dashboards.

  • 一致的外观 - 固定部件的可视化效果外观现在几乎与 Log Analytics 中的外观完全相同。Consistent look-and-feel - The visualization look-and-feel for pinned parts are now almost identical to those in Log Analytics. 存在差别的原因在于做出了优化,这需要对视觉对象的数据内容进行细微的改变。The differences are due to optimizations which require subtle differences in the data contents of the visual. 若要深入了解这些差异,请参阅本文档的“注意事项”部分。See the considerations part of this document for more insight into those differences.

  • 工具提示和标签 - 新的已固定 Log Analytics 可视化效果支持工具提示。Tooltips and labels - New pinned Log Analytics visualizations support tooltips. 饼图和圆环图现在支持标签。Pie and doughnut charts now support labels.

  • 交互式图例 - 单击可视化效果图例可以在固定的视觉对象中添加/删除维度,就如同在 Log Analytics 中一样。Interactive legends - Clicking the visualization legend allows adding/removing of dimensions from the pinned visual as in Log Analytics.

第 1 阶段 - 选择启用升级消息Stage 1 - Opt-in upgrade message

当某个 Log Analytics 固定部件可升级时,仪表板中的 Log Analytics 固定部件上会显示新的“选择启用”通知,让用户升级其可视化效果。When a Log Analytics pinned part is able to be upgraded, a new opt-in notification appears on Log Analytics pinned parts in dashboards allowing users to upgrade their visualization. 如果你要体验新的可视化效果,请在相应的仪表板中升级选定的可视化效果。If you want to experience the new visualizations to upgrade selected visualizations in their dashboard.

边栏

展示如何更新磁贴可视化效果的屏幕截图。

警告

发布仪表板后,升级是不可逆的。Once the dashboard is published, the upgrade is irreversible. 但是,如果你在未重新发布的情况下离开仪表板,则会放弃更改。However, changes are discarded if you navigate away from the dashboard without re-publishing.

单击后,可视化效果将更新为采用新技术。Once clicked, the visualization will be updated to the new technology. 为了与 Log Analytics 中的外观保持一致,可视化效果可能会出现细微的差别。Subtle differences in the visualization may occur to align with their look-and-feel in Log Analytics.

升级可视化效果后,需要重新发布仪表板才能使更改生效。After the visualizations are upgraded, you need to republish your dashboard for the change to take effect.

显示已升级的可视化效果的屏幕截图。

第 2 阶段 - 迁移所有仪表板Stage 2 - Migration of all dashboards

在最初的选择启用期限结束之后,Log Analytics 团队将升级系统中的所有仪表板。After an initial opt-in period is over, the Log Analytics team will upgrade all dashboards in the system. 使所有 Azure 仪表板保持一致可让团队全面引入更多的可视化效果和体验改进。Aligning all Azure dashboards allows the team to introduce more visualizations and experience improvements across the board.

注意事项Considerations

为了提供最佳体验,固定到仪表板的 Log Analytics 可视化效果采用某种特定的行为。Log Analytics visualizations pinned to a dashboard have some specific behavior designed for an optimal experience. 将可视化效果固定到仪表板时,请查看以下设计注意事项。Review the following design considerations when pinning a visualization to a dashboard.

查询时间范围 - 30 天限制Query time scope - 30-day limit

由于仪表板可能包含来自多个查询的多个可视化效果,因此单个固定查询的时间范围限制为 30 天。As dashboards may contain multiple visualizations from multiple queries, the time scope for a single pinned query is limited to 30 days. 单个查询只能针对小于或等于 30 天的时间范围运行。A single query may only run on a time span smaller or equal to 30 days. 此项限制旨在确保仪表板加载时间合理。This limitation is to ensure a reasonable dashboard load time.

查询数据值 - 25 个值和其他分组形式Query data values - 25 values and other grouping

仪表板在视觉上可能非常紧密而复杂。Dashboards can be visually dense and complex. 为了减轻查看仪表板时的认知负载,我们优化了可视化效果,将显示内容限制为不超过 25 种不同数据类型。In order to reduce cognitive load when viewing a dashboard, we optimize the visualizations by limiting the display to 25 different data types. 如果数据类型超过 25 个,Log Analytics 将优化数据。When there are more than 25, Log Analytics optimizes the data. 它会单独显示 25 种类型,其中大部分数据是独立形式的,剩余的值将分组到某个“其他”值。It individually shows the 25 types with most data as separate and then groups the remaining values into an “other” value. 以下图表显示了这样一种案例。The following chart shows such a case.

显示具有 25 种不同数据类型的仪表板的屏幕截图。

加载时刷新仪表板Dashboard refresh on load

仪表板在加载时将会刷新。Dashboards are refreshed upon load. 与仪表板固定的 Log Analytics 可视化效果相关的所有查询都会执行,仪表板在加载后将会刷新。All queries related to dashboard-pinned Log Analytics visualizations are executed and the dashboard is refreshed once it loads. 如果仪表板页保持打开状态,则仪表板中的数据每隔 60 分钟刷新一次。If the dashboard page remains open, the data in the dashboard is refreshed every 60 minutes.

后续步骤Next steps

在 Log Analytics 中创建和共享仪表板Create and share dashboards in Log Analytics