一、CloudWatch服务安装AmazonLinux2系统安装AgentBash!binbashrpmivhhttps:s3.amazonaws.comamazoncloudwatchagentamazonlinuxamd64latestamazoncloudwatchagent.rpmsudoteeaoptawsamazoncloudwatchagentetcamazoncloudwatchagent.json<<'EOF'{"logs":{"logscollected":{"files":{"collectlist":[{"filepath":"logArchivehcaextensioninfo.log","loggroupname":"RGCProd3in1oven","logstreamname":"info.logs"},{"filepath":"l...