cloudwatch logs 怎么收集Windows 日志
根据官方文档https://h_cn/AmazonCloudWatch/latest/logs/QuickStartWindows2016.html 已经配置好了json,
Systems Manager 之前也配置好了,按照官方文档powershell 启动报错 ?
Restart-Service : Service 'Amazon SSM Agent (AmazonSSMAgent)' cannot be stopped due to the following error: Cannot
open AmazonSSMAgent service on computer '.'.
At line:1 char:1
+ Restart-Service AmazonSSMAgent
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
], ServiceCommandException
+ FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand
还需要什么配置才能上传到cloudwatch,之前日志已经收集到cloudwatch中过 ,但是不上本人做的,现在重新启动,不知道之前怎么配置的,现在不知道需要查看那些配置,从何做起,