Skip to content

Commit f1561d4

Browse files
Merge pull request #268600 from bwren/docs-editor/container-insights-data-collec-1710162986
Update container-insights-data-collection-configmap.md
2 parents 50e7866 + 4f2f6ab commit f1561d4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +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`.
42-
43-
3. Save your changes in the editor.
44-
36+
1. Edit the ConfigMap YAML file with your customizations using the settings described in [Data collection settings](#data-collection-settings)
4537
1. Create a ConfigMap by running the following kubectl command:
4638

4739
```azurecli

0 commit comments

Comments
 (0)