AWS One Liners

From bibbleWiki
Jump to navigation Jump to search

Introduction

This page is for one liners for helping with AWS

Logs

You can tail a log group with

aws logs tail MY-Service-LogGroup  --follow

You can search the logs with

aws logs filter-log-events --log-group-name MY-Service-LogGroup --start-time `date -d 2024-11-12T00:00:00Z +%s`000 --filter-pattern ERROR