本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
CloudWatch 配置文件,更新详细信息
我们从以下 CloudWatch 目录(参见推荐目录)中读取您的自定义 CloudWatch 配置(仅限 JSON),并将它们与标准 AMS CloudWatch 配置合并:
CloudWatch 文件
在实例上:
Windows
%ProgramData%\ Amazon\AmazonCloudWatchAgent\ Configs\
%ProgramFiles%\\ 模块WindowsPowerShell\ AWSManaged 服务.Logging.Utilities\ Files\ Config.json
Linux
/opt/aws/ams/opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json
在亚马逊 S3 上:
Windows:
https://ams-configuration-artifacts-
REGION_NAME.s3。REGION_NAME.amazonaws。 com/configurations/cloudwatch/latest/windows-cloudwatch-config.j
Linux:
https://ams-configuration-artifacts-
REGION_NAME.s3。REGION_NAME.amazonaws。 com/configurations/cloudwatch/latest/linux-cloudwatch-config.j