Skip to content

Commit 9f568b0

Browse files
Merge pull request #269405 from bwren/docs-editor/container-insights-data-collec-1710804076
Update container-insights-data-collection-dcr.md
2 parents be157b8 + b746d81 commit 9f568b0

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

articles/azure-monitor/containers/container-insights-data-collection-dcr.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ The DCR is primarily used to configure data collection of performance and invent
1515

1616
Specific configuration you can perform with the DCR includes:
1717

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.)
1919
- Define collection interval for performance and inventory data
20-
- Enable/disable collection of stdout and stderr logs
2120
- Enable/disable Syslog collection
2221
- Select log schema
2322

@@ -87,10 +86,10 @@ The **Collected data** option allows you to select the tables that are populated
8786

8887
> [!NOTE]
8988
> 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
9493
9594
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).
9695
@@ -215,7 +214,7 @@ The following table describes the supported data collection settings and the nam
215214
|:---|:---|
216215
| 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*. |
217216
| 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 for the values in 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. |
219218
| 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. |
220219
| Collected Data<br>CLI: `streams`<br>ARM: `streams` | An array of container insights table streams. See the supported streams above to table mapping. |
221220

0 commit comments

Comments
 (0)