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-data-collection-dcr.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,8 @@ The DCR is primarily used to configure data collection of performance and invent
15
15
16
16
Specific configuration you can perform with the DCR includes:
17
17
18
-
- Enable/disable collection and namespace filtering for performance and inventory data
18
+
- Enable/disable collection and namespace filtering for performance and inventory data (Use [ConfigMap](./container-insights-data-collection-configmap.md) for namespace filtering of logs.)
19
19
- Define collection interval for performance and inventory data
20
-
- Enable/disable collection of stdout and stderr logs
21
20
- Enable/disable Syslog collection
22
21
- Select log schema
23
22
@@ -87,10 +86,10 @@ The **Collected data** option allows you to select the tables that are populated
87
86
88
87
> [!NOTE]
89
88
> Minimum version required for Azure CLI is 2.51.0.
90
-
- For AKS clusters, [aks-preview](../../aks/cluster-configuration.md) version 0.5.147 or higher
91
-
- For Arc enabled Kubernetes and AKS hybrid, [k8s-extension](../../azure-arc/kubernetes/extensions.md#prerequisites) version 1.4.3 or higher
92
-
93
-
## AKS cluster
89
+
```
90
+
- For AKS clusters, [aks-preview](../../aks/cluster-configuration.md) version 0.5.147 or higher
91
+
- For Arc enabled Kubernetes and AKS hybrid, [k8s-extension](../../azure-arc/kubernetes/extensions.md#prerequisites) version 1.4.3 or higher
92
+
```## AKS cluster
94
93
95
94
When you use CLI to configure monitoring for your AKS cluster, you provide the configuration as a JSON file using the following format. Each of these settings is described in [Data collection parameters](#data-collection-parameters).
96
95
@@ -215,7 +214,7 @@ The following table describes the supported data collection settings and the nam
215
214
|:---|:---|
216
215
| Collection frequency<br>CLI: `interval`<br>ARM: `dataCollectionInterval`| Determines how often the agent collects data. Valid values are 1m - 30m in 1m intervals The default value is 1m. If the value is outside the allowed range, then it defaults to *1 m*. |
217
216
| Namespace filtering<br>CLI: `namespaceFilteringMode`<br>ARM: `namespaceFilteringModeForDataCollection`|*Include*: Collects only data from the values in the *namespaces* field.<br>*Exclude*: Collects data from all namespaces except forthe valuesin the *namespaces* field.<br>*Off*: Ignores any *namespace* selections and collect data on all namespaces.
218
-
| Namespace filtering<br>CLI: `namespaces`<br>ARM: `namespacesForDataCollection`| Array of comma separated Kubernetes namespaces to collect inventory and perf data based on the _namespaceFilteringMode_.<br>For example, *namespaces = \["kube-system", "default"]* with an _Include_ setting collects only these two namespaces. With an _Exclude_ setting, the agent collects data from all other namespaces except for _kube-system_ and _default_. With an _Off_ setting, the agent collects data from all namespaces including _kube-system_ and _default_. Invalid and unrecognized namespaces are ignored. |
217
+
| Namespace filtering<br>CLI: `namespaces`<br>ARM: `namespacesForDataCollection`| Array of comma separated Kubernetes namespaces to collect inventory and perf data based on the _namespaceFilteringMode_.<br>For example, *namespaces = ["kube-system", "default"]* with an _Include_ setting collects only these two namespaces. With an _Exclude_ setting, the agent collects data from all other namespaces except for _kube-system_ and _default_. With an _Off_ setting, the agent collects data from all namespaces including _kube-system_ and _default_. Invalid and unrecognized namespaces are ignored. |
219
218
| Enable ContainerLogV2<br>CLI: `enableContainerLogV2`<br>ARM: `enableContainerLogV2`| Boolean flag to enable ContainerLogV2 schema. If set to true, the stdout/stderr Logs are ingested to [ContainerLogV2](container-insights-logs-schema.md) table. If not, the container logs are ingested to **ContainerLog** table, unless otherwise specified in the ConfigMap. When specifying the individual streams, you must include the corresponding table for ContainerLog or ContainerLogV2. |
220
219
| Collected Data<br>CLI: `streams`<br>ARM: `streams`| An array of container insights table streams. See the supported streams above to table mapping. |
0 commit comments