AWS EC2 get system log

Viewed 32122

I'm trying to get the System log from a Linux EC2 instance, either in the logs file or the command line.

I can get them from the console but they are always stale.

aws ec2 get-console-output --instance-id <my-ec2-id>

Is asking for Region, Access keys etc etc.

Is there any easy way of just getting the log from the current instance?

1 Answers
Related