참고 사이트 : https://github.com/TylerBrock/saw

 

GitHub - TylerBrock/saw: Fast, multi-purpose tool for AWS CloudWatch Logs

Fast, multi-purpose tool for AWS CloudWatch Logs. Contribute to TylerBrock/saw development by creating an account on GitHub.

github.com

brew tap TylerBrock/saw
brew install saw

brew 를 통해 설치를 진행한다. 

Basic

# Get list of log groups
saw groups

# Get list of streams for production log group
saw streams production

groups 를 보면 리스트를 볼 수 있다. 

.aws 에 아마존 환경 프로파일이 존재한다면 다음과 같이 로그 출력 확인

saw --profile amazon-dev watch dev/webApi

 

+ Recent posts