用于跨多个/新Log Analytics工作区的CPU利用率的仪表板磁贴 [英] Dashboards tiles for CPU Utilization across multiple/New Log Analytics Workspaces

查看:90
本文介绍了用于跨多个/新Log Analytics工作区的CPU利用率的仪表板磁贴的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我在一个拥有许多Log Analytics工作区的环境中工作,在不久的将来会有更多的工作空间。我想创建一个仪表板,它可以从每个工作区的数据中为我提供基本指标(平均CPU /内存利用率等)...最初,我创建了
a视图设计器,但是一次只支持一个工作区。如果有一种方法可以在新的工作区中自动加载脚本,那就没问题......但据我所知,没有办法编写视图设计器的创建脚本。 

I work in an environment with many Log Analytics Workspaces, with many more on the way in the near future. I wanted to create a Dashboard that would give me basic metrics (avg CPU/Memory utilization, etc) from data in each workspace... Initially, I had created a View Designer, but that only supports one Workspace at a time. That would be fine if there was a way to script automatically loading in new workspaces... but as far as I can tell, there is no way to script the creation of view designer. 

我该如何解决?

推荐答案

AFAIK,没有直接的方法来自动加载新工作区。这是一个可能有助于快速启动的解决方案。

AFAIK, there is no direct way of automating the loading of new workspaces. Here is a solution that might be helpful as a quick start.

要从多个日志分析工作区获取数据,您可以使用  跨资源日志查询和  pin
结果图表到仪表板。固定仪表板后,你可以参考  功能
文章获取ARM模板,您可以使用该模板自动创建仪表板。

To get data from multiple log analytics workspaces, you can use cross-resource log queries and pin the resultant chart to the Dashboard.After the pinning the dashboard, you can refer this  article to get the ARM template with which you can try automating the creation of dashboards.








这篇关于用于跨多个/新Log Analytics工作区的CPU利用率的仪表板磁贴的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆