Project

aws-logs

0.01
Low commit activity in last 3 years
Tail AWS CloudWatch Logs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

aws-logs

Gem Version

BoltOps Badge

Tail AWS CloudWatch Logs.

Usage

aws-logs tail LOG_GROUP

Examples

Here's a couple of examples where LOG_GROUP=/aws/codebuild/demo:

aws-logs tail /aws/codebuild/demo --since 60m
aws-logs tail /aws/codebuild/demo --since "2018-08-08 08:00:00"
aws-logs tail /aws/codebuild/demo --no-follow
aws-logs tail /aws/codebuild/demo --format simple
aws-logs tail /aws/codebuild/demo --filter-pattern Wed
  • By default, the tail command will follow the logs. To not follow use the --no-follow option.
  • The default format is detailed. The detailed format includes the log stream name.

Installation

Install with:

gem install aws-logs

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am "Add some feature")
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request