Search code examples
amazon-web-servicesaws-cliamazon-cloudwatch

how to view aws log real time (like tail -f)


I can view the log using the following command.

aws logs get-log-events --log-group-name groupName --log-stream-name streamName --limit 100

what is the command to get feature like tail -f so that i can see the log real time


Solution

  • Have a look at awslogs.

    If you happen to be working with Lambda/API Gateway specifically, have a look at apilogs.