Skip to content

Runtime Logs

How to tail on AWS logs

  1. Install AWS CLI

  2. Run this command and fill-in the following parameters (leave the others to their defaults) which will prompt you to log in using your @visualli.ai email address.

    aws configure sso
    SSO session name (Recommended): debugger
    SSO start URL [None]: https://visualli.awsapps.com/start
    SSO region [None]: eu-west-1
    Profile name [debugger-339518257814]: debugger

  3. Run this command to list down all log groups that exist within AWS.

    aws logs describe-log-groups --profile debugger

  4. Now, tail the lambda logs associated with dev.

    • For AI-Engine:

      aws logs tail /aws/lambda/visualli-ai-engine-dev-app --profile debugger --follow

    • For Backend:

      aws logs tail /aws/lambda/visualli-backend-dev-app --profile debugger --follow

  5. In case the session expires, run this command to log in again.

    aws sso login --profile debugger