包含 space 的 Application Insights 查询 属性
Application Insights query property containing space
中使用 Analytics 查询以下事件
{
"Description": "Error",
"EventData": {
"AccountId": "123",
"Exception Message": "Data at the root level is invalid.",
"Error Type": "ExceptionThrown"
}
}
我可以查询不包含空格的 属性。
Events | where Timestamp > ago(30min)
| project Data.EventData.AccountId
如何查询包含空格的 属性。以下查询不起作用
Events | where Timestamp > ago(30min)
| project Data.EventData.[Exception Message]
数组格式接受引号。
Events | where Timestamp > ago(30min) | project Data.EventData.["Exception Message"]
{
"Description": "Error",
"EventData": {
"AccountId": "123",
"Exception Message": "Data at the root level is invalid.",
"Error Type": "ExceptionThrown"
}
}
我可以查询不包含空格的 属性。
Events | where Timestamp > ago(30min)
| project Data.EventData.AccountId
如何查询包含空格的 属性。以下查询不起作用
Events | where Timestamp > ago(30min)
| project Data.EventData.[Exception Message]
数组格式接受引号。
Events | where Timestamp > ago(30min) | project Data.EventData.["Exception Message"]