Skip to content

Commit 4e592a5

Browse files
committed
Learn Editor: Update container-insights-data-collection-configmap.md
1 parent c1cbc15 commit 4e592a5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,7 @@ Specific configuration you can perform with the ConfigMap includes:
3333
Use the following procedure to configure and deploy your ConfigMap configuration file to your cluster:
3434

3535
1. Download the [template ConfigMap YAML file](https://aka.ms/container-azm-ms-agentconfig) and open it in an editor. If you already have a ConfigMap file, then you can use that one.
36-
1. Edit the ConfigMap YAML file with your customizations to collect stdout, stderr, and environmental variables:
37-
38-
- To exclude specific namespaces for stdout log collection, configure the key/value by using the following example:
39-
`[log_collection_settings.stdout] enabled = true exclude_namespaces = ["my-namespace-1", "my-namespace-2"]`.
40-
- To disable environment variable collection for a specific container, set the key/value `[log_collection_settings.env_var] enabled = true` to enable variable collection globally. Then follow the steps [here](container-insights-manage-agent.md#disable-environment-variable-collection-on-a-container) to complete configuration for the specific container.
41-
- To disable stderr log collection cluster-wide, configure the key/value by using the following example: `[log_collection_settings.stderr] enabled = false`.
36+
1. Edit the ConfigMap YAML file with your customizations using the settings described in [Data collection settings](#data-collection-settings)
4237

4338
3. Save your changes in the editor.
4439

0 commit comments

Comments
 (0)