Hi Masdieu, Melvin,
Good catch! Glad the issue is resolved for you finally. I will have this answer promoted by reposting it. As an Original Poster will not be able to accept your own answer. This is in the attempt to help others looking for a solution for a similar issue.
{
"properties": {
"immutableId": "dcr-02d318a9feed4f47b40c926a112fe692",
"dataSources": {
"extensions": [
{
"streams": [
"Microsoft-Perf",
"Microsoft-InsightsMetrics",
"Microsoft-ContainerLog",
"Microsoft-ContainerLogV2",
"Microsoft-KubeEvents",
"Microsoft-KubePodInventory",
"Microsoft-ContainerInventory",
"Microsoft-ContainerNodeInventory",
"Microsoft-KubeNodeInventory",
"Microsoft-KubeServices",
"Microsoft-KubePVInventory"
],
"extensionName": "ContainerInsights",
"extensionSettings": {
"dataCollectionSettings": {
"enableContainerLogV2": true,
"interval": "5m",
"namespaceFilteringMode": "Exclude",
"namespaces": [
"kube-system",
"gatekeeper-system",
"keda",
"calico-system",
"tigera-operator",
"snowsat-bot",
"cert-manager"
]
}
},
"inputDataSources": [],
"name": "ContainerInsightsExtension"
}
]
},
"destinations": {
"logAnalytics": [
{
"workspaceResourceId": "/subscriptions/subscription_id/resourceGroups/snowsat-rg-cluster-production/providers/Microsoft.OperationalInsights/workspaces/snowsat-log-production",
"workspaceId": "xxx",
"name": "2074f46d40fc414d872f44d15c1c86e3"
}
]
},
"dataFlows": [
{
"streams": [
"Microsoft-ContainerLogV2"
],
"destinations": [
"2074f46d40fc414d872f44d15c1c86e3"
],
"transformKql": "source | where LogMessage !has \"Picked up _JAVA_OPTIONS\" and LogMessage !has \"Spring Boot\""
},
{
"streams": [
"Microsoft-Perf",
"Microsoft-InsightsMetrics",
"Microsoft-ContainerLog",
"Microsoft-KubeEvents",
"Microsoft-KubePodInventory",
"Microsoft-ContainerInventory",
"Microsoft-ContainerNodeInventory",
"Microsoft-KubeNodeInventory",
"Microsoft-KubeServices",
"Microsoft-KubePVInventory"
],
"destinations": [
"2074f46d40fc414d872f44d15c1c86e3"
]
}
],
"provisioningState": "Succeeded"
},
"location": "francecentral",
"name": "MSCI-francecentral-k8s-production",
"apiVersion": "2022-06-01"
}
Thanks again for sharing the solution here. Have a good day!