Forrest logo
back to context overview

awslogs

List of commands for awslogs:

  • awslogs:tldr:05bb4 awslogs: List existing streams for the specified group.
    $ awslogs streams ${-var-log-syslog}
    try on your machine
    explain this command
  • awslogs:tldr:31c7f awslogs: List log groups.
    $ awslogs groups
    try on your machine
    explain this command
  • awslogs:tldr:91a37 awslogs: Watch logs for any streams in the specified group.
    $ awslogs get ${-var-log-syslog} ALL --watch
    try on your machine
    explain this command
  • awslogs:tldr:c268f awslogs: Get logs for any streams in the specified group between 1 and 2 hours ago.
    $ awslogs get ${-var-log-syslog} --start='${2h ago}' --end='${1h ago}'
    try on your machine
    explain this command
  • awslogs:tldr:eed55 awslogs: Get logs that match a specific CloudWatch Logs Filter pattern.
    $ awslogs get ${-aws-lambda-my_lambda_group} --filter-pattern='${ERROR}'
    try on your machine
    explain this command
back to context overview