Kusto 在函数中使用摄取会引发识别错误

时间:2021-01-29 05:24:14

标签: azure azure-data-explorer kql

我正在尝试在 kusto 函数中使用摄取代码将记录插入到 kusto 表中。我在运行查询时看到以下错误。是否可以选择在 kusto 函数中使用摄取?

.create function with (docstring = "test ingest") Insertbackups {
.ingest inline into table backup <| 
"test", 2, "Succeeded", 1, 2, 1.1, 3, false 
}

错误:发生识别错误。令牌:.

1 个答案:

答案 0 :(得分:2)

不支持。您可以在以下帖子中找到完整的解释:Not able to have commands in User-Defined functions in Kusto