Closed mmaitre314 closed 3 years ago
Discussing offline, this needs to be handled through patterns. Ex:
declare pattern workspace = (workspaceId:string)[tableName:string]
{
('e7a8b8c9-5a5e-44a3-afc2-7885fc6f8b00').['SecurityAlert'] = { cluster('bar').database('foo').SecurityAlert };
};
workspace('e7a8b8c9-5a5e-44a3-afc2-7885fc6f8b00').SecurityAlert | extend ExtendedProperties = parse_json(ExtendedProperties)
Azure Monitor has
workspace
andadx
keywords for cross-resource KQL queries which does not seem to be handled byKusto-Query-Language
:Analysis succeeds:
Analysis fails:
Error:
Error:
Doc: https://docs.microsoft.com/en-us/azure/azure-monitor/logs/cross-workspace-query
Code: