按照本指南,我看到了如何过滤自定义维度,但是当有“。”时如何过滤。在键/属性名称中?
例如,我想ServiceFabric.ServiceTypeName
从这个自定义维度值中过滤:
{
"AspNetCoreEnvironment": "Production",
"ServiceFabric.ApplicationTypeName": "MyCompany.MyAppType",
"ServiceFabric.ServiceTypeName": "MyService",
"ServiceFabric.ApplicationName": "fabric:/MyCompany.MyApp",
"ServiceFabric.PartitionId": "some-guid",
"ServiceFabric.ServiceName": "fabric:/MyCompany.MyApp/MyService",
"ServiceFabric.InstanceId": "55555",
"ServiceFabric.NodeName": "my-node",
"CategoryName": "Microsoft.AspNetCore.Hosting.Internal.WebHost",
"Protocol": "HTTP/1.1",
"Host": "MyCompany.com",
"Method": "GET",
"Scheme": "https",
"Path": "/api/values"
}
以下不起作用...
traces
| extend type = customDimensions.ServiceFabric.ApplicationTypeName
| where type == "MyCompany.MyAppType"
| order by timestamp desc