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.

posta un anno fa180 visualizzazioni
1 Risposta
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande