azure-data-explorer - 是否可以使用 Kusto 查询语言创建直方图?

标签 azure-data-explorer kql kusto-explorer

我正在检查 kusto 文档以检查是否可以创建直方图,但我似乎没有找到与直方图相关的任何内容。仅条形图和柱形图。

有没有办法在 KQL 中创建直方图,或者这是不可能的?

最佳答案

可以使用bin()来完成

// Generation of a data sample. Not part of the solution.
range i from 0 to 100 step 1 | project i, r = sqrt(-2*log(rand()))*sin(2*pi()*rand()) 
// Solution starts here.
| summarize count() by bin(r, 0.5)
| render columnchart 

enter image description here

Fiddle

关于azure-data-explorer - 是否可以使用 Kusto 查询语言创建直方图?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72191024/

相关文章:

基于图表中的选择/单击的 Azure 工作簿过滤

azure - 库斯托 : make-series stops with first day - doesnt work as expected

azure - 如何使用 Python 将数据引入 Azure 集群

access-control - Kusto Azure 数据资源管理器仪表板中基于用户角色的访问控制

azure - 动态数组上的 Kusto UDF(映射字符串值)

azure - 如何使用 Azure Kusto 从列中的拆分部分获取唯一 ID

azure-data-explorer - bag_unpack 在 Kusto 中的性能如何?

azure - 如何在 Kusto 中将十六进制字符串转换为 Ascii 字符串

Azure Sentinel 基于来自 KQL 的 5 分钟数据间隔发出警报

azure - 合并两个具有不同列名的表 KQL