在天蓝色中,如何在汇总语句中连接字符串?

Bom*_*maz 4 logging azure azure-log-analytics

我有一个声明,我尝试将日志(字符串)连接在一起形成一个字符串。

像这样的东西

ContainerLog
| where conditions
| summarize strcat(LogEntry) 
Run Code Online (Sandbox Code Playgroud)

但是我无法弄清楚如何连接这样的字符串,因为 strcat 不是聚合函数。我还需要别的东西,但不知道是什么。

我怎样才能做到这一点?

例如,如果我有日志条目“1”、“2”、“3”,则最终结果应该是“123”

小智 9

这允许混凝土中的独特组合。

requests
| where URL contains "prod"
| summarize count(), code=make_set(resultCode) by name
| sort by count_ desc
Run Code Online (Sandbox Code Playgroud)

图像

参考:https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/summarizeoperator,https : //learn.microsoft.com/en-us/azure/data-explorer/kusto/查询/makeset-aggfunction