Azure kusto 无法创建图表

标签 azure azure-data-explorer kql kusto-explorer

我得到的错误是 “无法创建该行,因为缺少以下类型之一的列:int、long、decimal 或 real”

enter image description here这是我的查询”我正在查看图表将显示“随着时间的推移,唯一资源 ID 的数量,聚合时间跨度为 5m”

syslog_CL
 | where data_s contains "Reject" 
 | where hostname_s contains "Network1"
 | where TimeGenerated > ago(1hr)

是否有任何建议可以添加到查询中以获取时间表?

最佳答案

你可以尝试这样的事情:

syslog_CL
| where data_s contains "Reject" 
| where hostname_s contains "Network1"
| where TimeGenerated > ago(1hr)
| summarize dcount(_ResourceId) by bin(TimeGenerated, 5m)
| render timechart

关于Azure kusto 无法创建图表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71959131/

相关文章:

azure - 日期时间语法似乎有效,但会导致语法错误

azure-data-explorer - 如何编写 Kusto 查询以在一张表中获取结果?

python - 使用 Python 中的多重处理从 Azure 下载 Blob

azure - Terraform - 如何使用 AGIC 创建 Azure Kubernetes 集群,以创建具有私有(private) IP 的应用程序网关

Azure 函数 key 保管库

azure - 使用代码更改edgeAgent和edgeHub的 'createOptions'

Azure Kusto 数据资源管理器 - 一次调用多个管理查询

azure - KQL 中的自定义日期格式

azure - 使用 "greater than"运算符实现外连接

azure - 如何将 json 数组转换为具有自定义列标题值信息的列