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.

feita há um ano180 visualizações
1 Resposta
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
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas