UserDataExecution Log Not Available in CloudWatch

0

I am trying to get UserdataExecution.log into CloudWatch, but not able to. It becomes really painful to log into the server remotely (Windows). In my case, it doesn't have a Public IP. So, need to rely on SSM. Anyways, that's not the point. But, I am wondering how to see the UserdataExecution.log without logging into the server, probably on CloudWatch or some other approach. Logs seem to appear on CloudWatch only if they keep getting updated, say, System or Eventviewer, but not others.

已提问 1 年前180 查看次数
1 回答
0

I believe you are looking for Logging Windows Amazon EC2 UserData activity in Amazon CloudWatch This is a pretty well thought out solution that utilizes a logging function to push data to CloudWatch as the tasks are being processed.

AWS
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则