You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-transformations.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ The snippet below shows the `dataFlows` section for a single stream with a trans
57
57
"destinations": [
58
58
"ciworkspace"
59
59
],
60
-
"transformKql": "source | where Namespace == 'kube-system'"
60
+
"transformKql": "source | where PodNamespace == 'kube-system'"
61
61
}
62
62
]
63
63
```
@@ -68,7 +68,7 @@ The following samples show DCRs for Container insights using transformations. Us
68
68
69
69
70
70
### Filter for a particular namespace
71
-
This sample uses the log query `source | where Namespace == 'kube-system'` to collect data for a single namespace in `ContainerLogsV2`. You can replace `kube-system` in this query with another namespace or replace the `where` clause with another filter to match the particular data you want to collect. The other streams are grouped into a separate data flow and have no transformation applied.
71
+
This sample uses the log query `source | where PodNamespace == 'kube-system'` to collect data for a single namespace in `ContainerLogsV2`. You can replace `kube-system` in this query with another namespace or replace the `where` clause with another filter to match the particular data you want to collect. The other streams are grouped into a separate data flow and have no transformation applied.
72
72
73
73
74
74
```json
@@ -101,8 +101,7 @@ This sample uses the log query `source | where Namespace == 'kube-system'` to co
0 commit comments