【发布时间】:2021-09-08 09:33:06
【问题描述】:
我正在尝试在 Azure 资源图中可视化一段时间内特定资源的总数。
例如,2018 年应用洞察总数为 10,2019 年总数为 20,依此类推。
这是查询,但它有问题: 1-它不聚合资源的总数 2- 它不接受渲染时间表
resources
| where type == "microsoft.insights/components"
| extend CreationDate = todatetime(properties.CreationDate)
| summarize count() by bin(CreationDate, 365d)
【问题讨论】:
标签: azure azure-log-analytics kql azure-resource-graph