我对 Azure Kusto 查询语言相当陌生。我正在尝试输出 2 个变量。这必须是非常简单的事情,我只是不知道如何。我曾尝试使用数据表、make-series、打印等功能,但无济于事。这是我当前的代码:
let allrequests = requests | project itemCount, resultCode, success, timestamp | where timestamp > now(-1h) and timestamp < now(-5m);
let requestcount = allrequests | summarize sum(itemCount);
let errorcount = allrequests | where toint(resultCode) >= 400 and toint(resultCode) <= 499 | summarize sum(itemCount);
requestcount; errorcount