Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,319 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I created data collections rule via terraform and when I want to do editor transformations in log I have this error "Error: Data collection rule is invalid Multiple destinations for a stream 'Microsoft-AppServiceConsoleLogs'. Streams can only be delivered to multiple tables within the same workspace." but I have one destination. My export templates
},
"variables": {},
"resources": [
{
"type": "Microsoft.Insights/dataCollectionRules",
"apiVersion": "2023-03-11",
"name": "[parameters('dataCollectionRules_sbxbc_playground_backend_dcr_name')]",
"location": "germanywestcentral",
"properties": {
"destinations": {
"logAnalytics": [
{
"workspaceResourceId": "[parameters('workspaces_sbxbc_playground_logs_externalid')]",
"name": "sbxbc-playground-logs"
}
]
},
"dataFlows": [
{
"streams": [
"Microsoft-Table-AppServiceConsoleLogs"
],
"destinations": [
"sbxbc-playground-logs"
],
"transformKql": "source\n| extend Context = parse_json(ResultDescription)\n| extend Thread_CF = tostring(Context.thread)\n| extend Level_CF = tostring(Context.level)\n| extend Logger_CF = tostring(Context.logger)\n| extend Message_CF = tostring(Context.message)\n| project-away Context,ResultDescription"
}
]
}
}
]
}