如何在 Kusto 中按日期按列获取 sum()

How to get sum() by Column by Date in Kusto

我想要一份报告,其指标为 sum by count 按日期在 LogAnalytics 中的某些列。

到目前为止我可以使用 -

Perf
| summarize sum(CounterValue) by TimeGenerated, Computer

这给了我下面的截图结果。但我想要每天的格式。像 -

Date,Computer,sum_Count
01-17-2020,ABC,100
01-16-2020,ABC,132
01-17-2020,XYZ,700
01-16-2020,XYZ,800

尝试使用 startofday():

Perf
| summarize sum(CounterValue) by startofday(TimeGenerated), Computer

bin():

Perf
| summarize sum(CounterValue) by bin(TimeGenerated, 1d), Computer