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.

질문됨 일 년 전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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠